Hide the FileSystemDock's empty dock slot when it's in bottom bar mode by default.

This commit is contained in:
Relintai 2024-04-17 20:56:47 +02:00
parent d2699675db
commit e27a506312

View File

@ -6922,6 +6922,9 @@ EditorNode::EditorNode() {
dock_slot[DOCK_SLOT_RIGHT_BL]->hide(); dock_slot[DOCK_SLOT_RIGHT_BL]->hide();
dock_slot[DOCK_SLOT_RIGHT_UR]->hide(); dock_slot[DOCK_SLOT_RIGHT_UR]->hide();
dock_slot[DOCK_SLOT_RIGHT_BR]->hide(); dock_slot[DOCK_SLOT_RIGHT_BR]->hide();
if (filesystem_dock_mode == static_cast<int>(FileSystemDock::DOCK_MODE_BOTTOM_BAR)) {
dock_slot[DOCK_SLOT_LEFT_BR]->hide();
}
left_l_vsplit->hide(); left_l_vsplit->hide();
right_r_vsplit->hide(); right_r_vsplit->hide();