From e27a506312946902d6258ff30883d5261c660a32 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 17 Apr 2024 20:56:47 +0200 Subject: [PATCH] Hide the FileSystemDock's empty dock slot when it's in bottom bar mode by default. --- editor/editor_node.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 6dca762e2..5b28df111 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -6922,6 +6922,9 @@ EditorNode::EditorNode() { dock_slot[DOCK_SLOT_RIGHT_BL]->hide(); dock_slot[DOCK_SLOT_RIGHT_UR]->hide(); dock_slot[DOCK_SLOT_RIGHT_BR]->hide(); + if (filesystem_dock_mode == static_cast(FileSystemDock::DOCK_MODE_BOTTOM_BAR)) { + dock_slot[DOCK_SLOT_LEFT_BR]->hide(); + } left_l_vsplit->hide(); right_r_vsplit->hide();