Merge pull request #10133 from homer666/adjust-filesystem-split-mode-height-threshold

Adjust FileSystem dock split mode's height threshold
This commit is contained in:
Thomas Herzog 2017-08-07 22:24:52 +02:00 committed by GitHub
commit c6cb31aa5e

View file

@ -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) {