Merge pull request #32438 from Chaosus/fix_dialog_theme

Fix theme in visual script dialogs (at startup)
This commit is contained in:
Rémi Verschelde 2019-09-30 11:02:37 +02:00 committed by GitHub
commit cb984b3f5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();