diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-30 11:02:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-30 11:02:37 +0200 |
commit | cb984b3f5f352368956473910ad331d6070997f8 (patch) | |
tree | d10897619d3c5a78b363b8991531ed89ef1574ec /modules | |
parent | ddc42be1dbb66e8ae7e7e13deace0c59fea91abd (diff) | |
parent | a9d981d26cefbe7c6d0d3dff4a2a0eaf827184b2 (diff) |
Merge pull request #32438 from Chaosus/fix_dialog_theme
Fix theme in visual script dialogs (at startup)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/visual_script/visual_script_editor.cpp | 2 |
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(); |