Fix #133465: Pulldown selected outline color was not used
In the theme settings for the user interface, there was a option to change the outline color of pulldown menus (E.g. the buttons at the top of the 3D viewport) when the button was selected. However this color wasn't used. This commit aims to fix that by using the selected outline color for the outline of selected pulldown buttons. Pull Request: https://projects.blender.org/blender/blender/pulls/133470
This commit is contained in:
@@ -4110,7 +4110,6 @@ static void widget_pulldownbut(uiWidgetColors *wcol,
|
||||
if (state->but_flag & UI_HOVER) {
|
||||
copy_v4_v4_uchar(wcol->inner, wcol->inner_sel);
|
||||
copy_v3_v3_uchar(wcol->text, wcol->text_sel);
|
||||
copy_v3_v3_uchar(wcol->outline, wcol->inner);
|
||||
}
|
||||
else {
|
||||
wcol->inner[3] *= 1.0f - back[3];
|
||||
|
||||
Reference in New Issue
Block a user