Fixed the text editor theme not being applied on editor start.

This commit is contained in:
Zi Ye 2024-02-23 17:06:15 -06:00
parent 2e7fc81315
commit ea401f9853
3 changed files with 6 additions and 7 deletions

View file

@ -1059,7 +1059,6 @@ void CodeTextEditor::update_editor_settings() {
text_editor->set_line_length_guidelines(TypedArray<int>());
}
_update_font_ligatures();
set_zoom_factor(zoom_factor);
}
@ -1683,10 +1682,6 @@ void CodeTextEditor::goto_error() {
}
void CodeTextEditor::_update_text_editor_theme() {
if (!EditorThemeManager::is_generated_theme_outdated()) {
return;
}
emit_signal(SNAME("load_theme_settings"));
error_button->set_icon(get_editor_theme_icon(SNAME("StatusError")));