diff options
author | Andreas Haas <Hinsbart@users.noreply.github.com> | 2017-06-16 19:48:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-16 19:48:09 +0000 |
commit | 16622fccd23b58ae5a54dfafaacde10999210613 (patch) | |
tree | 719febb90d24d4cad2a116aa04cb4d77c9da2f5d /editor/editor_node.cpp | |
parent | 7966ebe6fa57e8ff5a855fe7010ae93594f1b9ee (diff) | |
parent | d2f72ca923dea11c9a17f15f6bfb61e54c138bc3 (diff) |
Merge pull request #9221 from volzhs/fix-scene-tab-theme
Fix scene tab color not updated when theme changed
Diffstat (limited to 'editor/editor_node.cpp')
-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 { |