From f19dfc1aa827bd8b9a7f610ca32089bc98a41486 Mon Sep 17 00:00:00 2001 From: groud Date: Fri, 21 Sep 2018 11:46:10 +0200 Subject: Remove auto disabling of the split-view in the FileSystem dock --- editor/filesystem_dock.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'editor/filesystem_dock.cpp') diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index d8925630b1..46f89439c0 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -223,11 +223,9 @@ void FileSystemDock::_update_tree(const Vector p_uncollapsed_paths, bool } void FileSystemDock::_update_display_mode() { - bool compact_mode = get_size().height < int(EditorSettings::get_singleton()->get("docks/filesystem/split_mode_minimum_height")); - // Compute the new display mode DisplayMode new_display_mode; - if ((display_mode_setting == DISPLAY_MODE_SETTING_TREE_ONLY) || compact_mode) { + if (display_mode_setting == DISPLAY_MODE_SETTING_TREE_ONLY) { new_display_mode = file_list_view ? DISPLAY_MODE_FILE_LIST_ONLY : DISPLAY_MODE_TREE_ONLY; } else { new_display_mode = DISPLAY_MODE_SPLIT; -- cgit v1.2.3