Correct version patching of Preferences theme
Ina77b63c569
, the Preferences navigation region background was made brighter. Recently stored userpref.blends (sinceb00963afc1
, so beta release included) would still use the slightly darker background for the Preferences navigation region. Now the version patch added fora77b63c569
also sets the new color for those recent configs.
This commit is contained in:
@@ -93,10 +93,6 @@ static void do_versions_theme(UserDef *userdef, bTheme *btheme)
|
||||
copy_v4_v4_char(btheme->tclip.list_text, U_theme_default.tclip.list_text);
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(280, 33)) {
|
||||
copy_v4_v4_char(btheme->tuserpref.navigation_bar, U_theme_default.tuserpref.navigation_bar);
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(280, 36)) {
|
||||
copy_v4_v4_char(btheme->tui.wcol_state.inner_changed, U_theme_default.tui.wcol_state.inner_changed);
|
||||
copy_v4_v4_char(btheme->tui.wcol_state.inner_changed_sel, U_theme_default.tui.wcol_state.inner_changed_sel);
|
||||
@@ -108,6 +104,7 @@ static void do_versions_theme(UserDef *userdef, bTheme *btheme)
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(280, 40)) {
|
||||
copy_v4_v4_char(btheme->tuserpref.navigation_bar, U_theme_default.tuserpref.navigation_bar);
|
||||
copy_v4_v4_char(btheme->tuserpref.execution_buts, btheme->tuserpref.navigation_bar);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user