aboutsummaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.cpp
diff options
context:
space:
mode:
authorThomas Herzog2017-08-07 22:24:52 +0200
committerGitHub2017-08-07 22:24:52 +0200
commitc6cb31aa5e45a2c372d408a766c6a9e6562bdb7c (patch)
treeaa220440b7c9c415ab8a83fb984163ab3486ae25 /editor/filesystem_dock.cpp
parent5ada918d9f113373bcc260707de5ae466de15f6d (diff)
parente32abe8072538deae4b5d603e480794cc6ca92aa (diff)
downloadgodot-c6cb31aa5e45a2c372d408a766c6a9e6562bdb7c.tar.gz
godot-c6cb31aa5e45a2c372d408a766c6a9e6562bdb7c.tar.zst
godot-c6cb31aa5e45a2c372d408a766c6a9e6562bdb7c.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) {