diff --git a/doc/classes/EditorInterface.xml b/doc/classes/EditorInterface.xml index 536b281bcc..d9d370f82b 100644 --- a/doc/classes/EditorInterface.xml +++ b/doc/classes/EditorInterface.xml @@ -204,6 +204,7 @@ + If [code]true[/code], enables distraction-free mode which hides side docks to increase the space available for the main view. diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index f11f67ff58..6d030a4368 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -4296,7 +4296,6 @@ void EditorNode::_update_dock_slots_visibility() { } right_hsplit->hide(); - bottom_panel->hide(); } else { for (int i = 0; i < DOCK_SLOT_MAX; i++) { @@ -4326,7 +4325,6 @@ void EditorNode::_update_dock_slots_visibility() { dock_slot[i]->set_current_tab(0); } } - bottom_panel->show(); if (right_l_vsplit->is_visible() || right_r_vsplit->is_visible()) right_hsplit->show();