Merge pull request #118041 from olaron/fix-system-theme
Fix icons and code completion colors when following system theme
This commit is contained in:
@@ -4067,7 +4067,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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user