Adjust FileSystem split mode's height threshold

This commit is contained in:
homer666 2017-08-07 13:44:34 +10:00
parent 7e4970214c
commit e32abe8072

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