mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Scroll back to top when changing directory in FileSystem dock
Fix #26041
This commit is contained in:
parent
68c3728b47
commit
920403c489
@ -462,6 +462,7 @@ void FileSystemDock::_navigate_to_path(const String &p_path, bool p_select_in_fa
|
||||
_update_tree(_compute_uncollapsed_paths(), false, p_select_in_favorites);
|
||||
if (display_mode == DISPLAY_MODE_SPLIT) {
|
||||
_update_file_list(false);
|
||||
files->get_v_scroll()->set_value(0);
|
||||
}
|
||||
|
||||
String file_name = p_path.get_file();
|
||||
|
Loading…
Reference in New Issue
Block a user