[Bf-blender-cvs] [92b0803f35a] master: Merge branch 'blender-v2.92-release'
Hans Goudey
noreply at git.blender.org
Thu Jan 28 23:26:05 CET 2021
Commit: 92b0803f35a731c0c070f302d6663e3003b3a310
Author: Hans Goudey
Date: Thu Jan 28 16:25:59 2021 -0600
Branches: master
https://developer.blender.org/rB92b0803f35a731c0c070f302d6663e3003b3a310
Merge branch 'blender-v2.92-release'
===================================================================
===================================================================
diff --cc source/blender/editors/interface/interface_panel.c
index ac29a1c7f9e,bf140eb1692..b4af63b6f4d
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@@ -1119,19 -1119,15 +1119,18 @@@ static void panel_draw_highlight_border
radius = 0.0f;
}
- /* Abuse the property search theme color for now. */
float color[4];
- UI_GetThemeColor4fv(TH_MATCH, color);
- UI_draw_roundbox_aa(
+ UI_GetThemeColor4fv(TH_SELECT_ACTIVE, color);
- UI_draw_roundbox_4fv(false,
- rect->xmin,
- UI_panel_is_closed(panel) ? header_rect->ymin : rect->ymin,
- rect->xmax,
- header_rect->ymax,
- radius,
- color);
++ UI_draw_roundbox_4fv(
+ &(const rctf){
+ .xmin = rect->xmin,
+ .xmax = rect->xmax,
+ .ymin = UI_panel_is_closed(panel) ? header_rect->ymin : rect->ymin,
+ .ymax = header_rect->ymax,
+ },
+ false,
+ radius,
+ color);
}
static void panel_draw_aligned_widgets(const uiStyle *style,
More information about the Bf-blender-cvs
mailing list