mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
Fix TabContainer's font_hovered_color theme property
This commit is contained in:
parent
6da4ad1662
commit
d7bf05b490
@ -162,6 +162,7 @@ void TabContainer::_update_theme_item_cache() {
|
||||
theme_cache.drop_mark_color = get_theme_color(SNAME("drop_mark_color"));
|
||||
|
||||
theme_cache.font_selected_color = get_theme_color(SNAME("font_selected_color"));
|
||||
theme_cache.font_hovered_color = get_theme_color(SNAME("font_hovered_color"));
|
||||
theme_cache.font_unselected_color = get_theme_color(SNAME("font_unselected_color"));
|
||||
theme_cache.font_disabled_color = get_theme_color(SNAME("font_disabled_color"));
|
||||
theme_cache.font_outline_color = get_theme_color(SNAME("font_outline_color"));
|
||||
@ -240,6 +241,7 @@ void TabContainer::_on_theme_changed() {
|
||||
tab_bar->add_theme_color_override(SNAME("drop_mark_color"), theme_cache.drop_mark_color);
|
||||
|
||||
tab_bar->add_theme_color_override(SNAME("font_selected_color"), theme_cache.font_selected_color);
|
||||
tab_bar->add_theme_color_override(SNAME("font_hovered_color"), theme_cache.font_hovered_color);
|
||||
tab_bar->add_theme_color_override(SNAME("font_unselected_color"), theme_cache.font_unselected_color);
|
||||
tab_bar->add_theme_color_override(SNAME("font_disabled_color"), theme_cache.font_disabled_color);
|
||||
tab_bar->add_theme_color_override(SNAME("font_outline_color"), theme_cache.font_outline_color);
|
||||
|
@ -75,6 +75,7 @@ class TabContainer : public Container {
|
||||
Color drop_mark_color;
|
||||
|
||||
Color font_selected_color;
|
||||
Color font_hovered_color;
|
||||
Color font_unselected_color;
|
||||
Color font_disabled_color;
|
||||
Color font_outline_color;
|
||||
|
Loading…
Reference in New Issue
Block a user