Merge pull request #28770 from volzhs/fix-scroll-back-top
Fix scroll back top
This commit is contained in:
commit
fea0c8858e
2 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
|
@ -369,7 +369,6 @@ void ItemList::clear() {
|
|||
update();
|
||||
shape_changed = true;
|
||||
defer_select_single = -1;
|
||||
scroll_bar->set_value(0);
|
||||
}
|
||||
|
||||
void ItemList::set_fixed_column_width(int p_size) {
|
||||
|
|
Loading…
Reference in a new issue