summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-09-30 11:02:37 +0200
committerGitHub <noreply@github.com>2019-09-30 11:02:37 +0200
commitcb984b3f5f352368956473910ad331d6070997f8 (patch)
treed10897619d3c5a78b363b8991531ed89ef1574ec
parentddc42be1dbb66e8ae7e7e13deace0c59fea91abd (diff)
parenta9d981d26cefbe7c6d0d3dff4a2a0eaf827184b2 (diff)
Merge pull request #32438 from Chaosus/fix_dialog_theme
Fix theme in visual script dialogs (at startup)
-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();