Fix icons and code completion colors when following system theme

This commit is contained in:
Robin Alonzo
2026-03-31 16:38:51 +02:00
parent 06c3946e35
commit 207caf2020
2 changed files with 8 additions and 0 deletions
+3
View File
@@ -4066,7 +4066,10 @@ void EditorNode::_check_system_theme_changed() {
}
if (system_theme_changed) {
class_icon_cache.clear();
_update_theme();
_build_icon_type_cache();
recent_scenes->reset_size();
} else if (menu_type == MENU_TYPE_GLOBAL && display_server->is_dark_mode_supported() && display_server->is_dark_mode() != last_dark_mode_state) {
last_dark_mode_state = display_server->is_dark_mode();
+5
View File
@@ -1635,6 +1635,11 @@ void CodeTextEditor::_update_text_editor_theme() {
}
_update_font_ligatures();
update_editor_settings();
if (text_editor->get_code_completion_selected_index() != -1) {
_complete_request();
}
}
void CodeTextEditor::_update_font_ligatures() {