You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Keep the bottom panel visible when enabling the distraction-free mode
- Document the `EditorInterface.distraction_free_mode` property. This closes https://github.com/godotengine/godot-proposals/issues/951.
This commit is contained in:
@@ -4159,7 +4159,6 @@ void EditorNode::_update_dock_slots_visibility() {
|
||||
}
|
||||
|
||||
right_hsplit->hide();
|
||||
bottom_panel->hide();
|
||||
} else {
|
||||
for (int i = 0; i < DOCK_SLOT_MAX; i++) {
|
||||
int tabs_visible = 0;
|
||||
@@ -4189,7 +4188,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();
|
||||
|
||||
Reference in New Issue
Block a user