Merge pull request #84907 from miv391/fix-gutter-error

Do not bother with line colors if `line_number_gutter` is not yet calculated
This commit is contained in:
Rémi Verschelde 2024-03-04 20:43:30 +01:00
commit 4320d53a2b
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -341,7 +341,9 @@ void ScriptTextEditor::reload_text() {
te->tag_saved_version();
code_editor->update_line_and_column();
_validate_script();
if (editor_enabled) {
_validate_script();
}
}
void ScriptTextEditor::add_callback(const String &p_function, const PackedStringArray &p_args) {