Fix broken icons when moving the FileSystem dock to the bottom

This commit is contained in:
Michael Alexsander
2026-06-17 12:21:33 -03:00
parent 6b1004bbeb
commit c75b1bf5d3
+4
View File
@@ -561,6 +561,10 @@ void FileSystemDock::_update_display_mode(bool p_force) {
_update_file_list(!selected_files.is_empty(), selected_files);
} else {
tree->ensure_cursor_is_visible();
// Always update to avoid broken icons, as previous updates
// could have happened before the dock was inside the tree.
update_all();
}
} break;
}