You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix FileSystem file list mode button visibility
This commit is contained in:
@@ -494,6 +494,7 @@ void FileSystemDock::_update_display_mode(bool p_force) {
|
|||||||
} else {
|
} else {
|
||||||
toolbar2_hbc->show();
|
toolbar2_hbc->show();
|
||||||
}
|
}
|
||||||
|
button_file_list_display_mode->hide();
|
||||||
|
|
||||||
_update_tree(get_uncollapsed_paths());
|
_update_tree(get_uncollapsed_paths());
|
||||||
file_list_vb->hide();
|
file_list_vb->hide();
|
||||||
@@ -513,6 +514,7 @@ void FileSystemDock::_update_display_mode(bool p_force) {
|
|||||||
tree->set_v_size_flags(SIZE_EXPAND_FILL);
|
tree->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||||
tree->ensure_cursor_is_visible();
|
tree->ensure_cursor_is_visible();
|
||||||
toolbar2_hbc->hide();
|
toolbar2_hbc->hide();
|
||||||
|
button_file_list_display_mode->show();
|
||||||
_update_tree(get_uncollapsed_paths());
|
_update_tree(get_uncollapsed_paths());
|
||||||
|
|
||||||
file_list_vb->show();
|
file_list_vb->show();
|
||||||
|
|||||||
Reference in New Issue
Block a user