diff options
author | volzhs <volzhs@gmail.com> | 2017-06-17 03:00:57 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2017-06-17 03:00:57 +0900 |
commit | d2f72ca923dea11c9a17f15f6bfb61e54c138bc3 (patch) | |
tree | f3154d5e81c5118ef3c3521b2ad4342be2358a98 | |
parent | 9ff7bd46cc1aa0fe5aa0decbbf41ed0c10136f98 (diff) |
Fix scene tab color not updated when theme changed
-rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index fd53f4d1bb..297be5e05f 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -342,6 +342,8 @@ void EditorNode::_notification(int p_what) { play_button_panel->add_style_override("panel", gui_base->get_stylebox("PlayButtonPanel", "EditorStyles")); scene_root_parent->add_style_override("panel", gui_base->get_stylebox("Content", "EditorStyles")); bottom_panel->add_style_override("panel", gui_base->get_stylebox("Content", "EditorStyles")); + scene_tabs->add_style_override("tab_fg", gui_base->get_stylebox("SceneTabFG", "EditorStyles")); + scene_tabs->add_style_override("tab_bg", gui_base->get_stylebox("SceneTabBG", "EditorStyles")); if (bool(EDITOR_DEF("interface/scene_tabs/resize_if_many_tabs", true))) { scene_tabs->set_min_width(int(EDITOR_DEF("interface/scene_tabs/minimum_width", 50)) * EDSCALE); } else { |