1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Improve EditorInspectorCategory

- Simplified the implementation and removed the hacks.
- Adapted the control to locale & theme changes.
- Made the context menu lazy-created.
This commit is contained in:
Haoyu Qiu
2025-05-29 11:47:58 +08:00
parent 978b38797b
commit fbca6f0f6f
3 changed files with 117 additions and 87 deletions

View File

@@ -938,6 +938,7 @@ void EditorNode::_notification(int p_what) {
use_system_accent_color = EDITOR_GET("interface/theme/use_system_accent_color");
if (EditorThemeManager::is_generated_theme_outdated()) {
class_icon_cache.clear();
_update_theme();
_build_icon_type_cache();
recent_scenes->reset_size();