You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Hide button tree when file system dock isn't in split mode
(cherry picked from commit bb936b5503)
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
bd02969263
commit
501880e9ba
@@ -154,6 +154,7 @@ void FileSystemDock::_notification(int p_what) {
|
||||
} else {
|
||||
|
||||
tree->set_v_size_flags(SIZE_FILL);
|
||||
button_tree->hide();
|
||||
if (!tree->is_visible()) {
|
||||
tree->show();
|
||||
button_favorite->show();
|
||||
@@ -163,7 +164,6 @@ void FileSystemDock::_notification(int p_what) {
|
||||
|
||||
if (!file_list_vb->is_visible()) {
|
||||
file_list_vb->show();
|
||||
button_tree->hide();
|
||||
_update_files(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user