Parcourir la source

Fix theme in visual script dialogs (at startup)

Chaosus il y a 6 ans
Parent
commit
a9d981d26c
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      modules/visual_script/visual_script_editor.cpp

+ 2 - 0
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();