2
0
Эх сурвалжийг харах

Adjust FileSystem split mode's height threshold

homer666 8 жил өмнө
parent
commit
e32abe8072

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