diff options
author | Jonathan Williamson <jonathan@cgcookie.com> | 2014-01-23 22:28:41 +0400 |
---|---|---|
committer | Jonathan Williamson <jonathan@cgcookie.com> | 2014-01-23 22:30:28 +0400 |
commit | 037730b6837f600536fa80055cde807aa4e9852c (patch) | |
tree | 4291b3c6dffe2f015d3ed22e5a573f69a6ca584b | |
parent | 0f72a8a7f0a0f8fff11ee26859c33ab684d6e19b (diff) |
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.
-rw-r--r-- | source/blender/editors/interface/interface_panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |