summaryrefslogtreecommitdiff
path: root/modules/visual_script
diff options
context:
space:
mode:
authorChaosus <chaosus89@gmail.com>2019-09-30 10:42:37 +0300
committerChaosus <chaosus89@gmail.com>2019-09-30 10:51:05 +0300
commita9d981d26cefbe7c6d0d3dff4a2a0eaf827184b2 (patch)
treed10897619d3c5a78b363b8991531ed89ef1574ec /modules/visual_script
parentddc42be1dbb66e8ae7e7e13deace0c59fea91abd (diff)
Fix theme in visual script dialogs (at startup)
Diffstat (limited to 'modules/visual_script')
-rw-r--r--modules/visual_script/visual_script_editor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/visual_script/visual_script_editor.cpp b/modules/visual_script/visual_script_editor.cpp
index 37f581eec2..093901ad07 100644
--- a/modules/visual_script/visual_script_editor.cpp
+++ b/modules/visual_script/visual_script_editor.cpp
@@ -3915,6 +3915,8 @@ void VisualScriptEditor::_notification(int p_what) {
return;
}
+ edit_variable_edit->add_style_override("bg", get_stylebox("bg", "Tree"));
+ edit_signal_edit->add_style_override("bg", get_stylebox("bg", "Tree"));
func_input_scroll->add_style_override("bg", get_stylebox("bg", "Tree"));
Ref<Theme> tm = EditorNode::get_singleton()->get_theme_base()->get_theme();