[Editor] Fix reloading editor theme on font / font size setting change.

This commit is contained in:
bruvzg 2022-03-21 08:20:09 +02:00
parent aa8ff21b2a
commit f80148e3d1
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
2 changed files with 5 additions and 2 deletions

View file

@ -707,7 +707,10 @@ void EditorNode::_notification(int p_what) {
bool theme_changed =
EditorSettings::get_singleton()->check_changed_settings_in_group("interface/theme") ||
EditorSettings::get_singleton()->check_changed_settings_in_group("text_editor/theme");
EditorSettings::get_singleton()->check_changed_settings_in_group("text_editor/theme") ||
EditorSettings::get_singleton()->check_changed_settings_in_group("interface/editor/font") ||
EditorSettings::get_singleton()->check_changed_settings_in_group("interface/editor/main_font") ||
EditorSettings::get_singleton()->check_changed_settings_in_group("interface/editor/code_font");
if (theme_changed) {
theme = create_custom_theme(theme_base->get_theme());