mirror of
https://github.com/godotengine/godot.git
synced 2024-10-23 13:41:43 +00:00
Adjust FileSystem split mode's height threshold
(cherry picked from commit e32abe8072
)
This commit is contained in:
parent
8edc3991fd
commit
57084ada96
|
@ -99,7 +99,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) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user