From d2f72ca923dea11c9a17f15f6bfb61e54c138bc3 Mon Sep 17 00:00:00 2001 From: volzhs Date: Sat, 17 Jun 2017 03:00:57 +0900 Subject: [PATCH] Fix scene tab color not updated when theme changed --- editor/editor_node.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index fd53f4d1bb0..297be5e05fa 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 {