Merge pull request #57796 from akien-mga/revert-sname-theme-setters

This commit is contained in:
Rémi Verschelde 2022-02-08 11:13:24 +01:00 committed by GitHub
commit a66e55069e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
90 changed files with 1583 additions and 1583 deletions

View file

@ -1848,7 +1848,7 @@ void ScriptTextEditor::_enable_code_editor() {
ScriptTextEditor::ScriptTextEditor() {
code_editor = memnew(CodeTextEditor);
code_editor->add_theme_constant_override(SNAME("separation"), 2);
code_editor->add_theme_constant_override("separation", 2);
code_editor->set_anchors_and_offsets_preset(Control::PRESET_WIDE);
code_editor->set_code_complete_func(_code_complete_scripts, this);
code_editor->set_v_size_flags(SIZE_EXPAND_FILL);