Browse Source

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

Adjust FileSystem dock split mode's height threshold
Thomas Herzog 8 years ago
parent
commit
c6cb31aa5e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/filesystem_dock.cpp

+ 1 - 1
editor/filesystem_dock.cpp

@@ -102,7 +102,7 @@ void FileSystemDock::_notification(int p_what) {
 
 
 		case NOTIFICATION_RESIZED: {
 		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) {
 			if (new_mode != split_mode) {