summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2017-08-07 22:24:52 +0200
committerGitHub <noreply@github.com>2017-08-07 22:24:52 +0200
commitc6cb31aa5e45a2c372d408a766c6a9e6562bdb7c (patch)
treeaa220440b7c9c415ab8a83fb984163ab3486ae25
parent5ada918d9f113373bcc260707de5ae466de15f6d (diff)
parente32abe8072538deae4b5d603e480794cc6ca92aa (diff)
Merge pull request #10133 from homer666/adjust-filesystem-split-mode-height-threshold
Adjust FileSystem dock 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) {