aboutsummaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.cpp
diff options
context:
space:
mode:
authorhomer6662017-08-07 13:44:34 +1000
committerhomer6662017-08-07 13:44:34 +1000
commite32abe8072538deae4b5d603e480794cc6ca92aa (patch)
tree784478c4a04bc1ea37b1031390a3e50317e866e8 /editor/filesystem_dock.cpp
parent7e4970214c92fec0e7262f36765764a81e28b2be (diff)
downloadgodot-e32abe8072538deae4b5d603e480794cc6ca92aa.tar.gz
godot-e32abe8072538deae4b5d603e480794cc6ca92aa.tar.zst
godot-e32abe8072538deae4b5d603e480794cc6ca92aa.zip
Diffstat (limited to 'editor/filesystem_dock.cpp')
-rw-r--r--editor/filesystem_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 77ca1a514..f08a4d231 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -102,7 +102,7 @@ void FileSystemDock::_notification(int p_what) {
case NOTIFICATION_RESIZED: {
- bool new_mode = get_size().height < get_viewport_rect().size.height * 3 / 4;
+ bool new_mode = get_size().height < get_viewport_rect().size.height / 2;
if (new_mode != split_mode) {