summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhomer666 <homer666@users.noreply.github.com>2017-08-07 13:44:34 +1000
committerhomer666 <homer666@users.noreply.github.com>2017-08-07 13:44:34 +1000
commite32abe8072538deae4b5d603e480794cc6ca92aa (patch)
tree784478c4a04bc1ea37b1031390a3e50317e866e8
parent7e4970214c92fec0e7262f36765764a81e28b2be (diff)
Adjust FileSystem split mode's height threshold
-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 77ca1a5145..f08a4d231f 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) {