From 037730b6837f600536fa80055cde807aa4e9852c Mon Sep 17 00:00:00 2001 From: Jonathan Williamson Date: Thu, 23 Jan 2014 12:28:41 -0600 Subject: [PATCH] Make Tab Divider interopolate between the region background and tab outline. Previously the divider was using the region background and the region text, leading to bad outlines with custom themes. This makes the outline behave more expectedly and allows better control. --- source/blender/editors/interface/interface_panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index 14523efaf18..f6557b98bdd 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -1440,7 +1440,7 @@ void UI_panel_category_draw_all(ARegion *ar, const char *category_id_active) UI_GetThemeColor4ubv(TH_TAB_INACTIVE, theme_col_tab_inactive); UI_GetThemeColor4ubv(TH_TAB_OUTLINE, theme_col_tab_outline); - blend_color_interpolate_byte(theme_col_tab_divider, theme_col_back, theme_col_text, 0.3f); + blend_color_interpolate_byte(theme_col_tab_divider, theme_col_back, theme_col_tab_outline, 0.3f); blend_color_interpolate_byte(theme_col_tab_highlight, theme_col_back, theme_col_text_hi, 0.2f); blend_color_interpolate_byte(theme_col_tab_highlight_inactive, theme_col_tab_inactive, theme_col_text_hi, 0.12f);