1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Update Node dock when theme changes

This commit is contained in:
Haoyu Qiu
2024-07-03 00:15:57 +08:00
parent 9db1a963be
commit 7187a82cfe
2 changed files with 3 additions and 0 deletions

View File

@@ -1377,6 +1377,8 @@ void ConnectionsDock::_notification(int p_what) {
slot_menu->set_item_icon(slot_menu->get_item_index(SLOT_MENU_DISCONNECT), get_editor_theme_icon(SNAME("Unlinked")));
tree->add_theme_constant_override("icon_max_width", get_theme_constant(SNAME("class_icon_size"), EditorStringName(Editor)));
update_tree();
} break;
case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: {