Merge pull request #99096 from kitbdev/bottom_panel_force_switch

Make bottom panel switch when pinned and removed
This commit is contained in:
Thaddeus Crews
2024-12-30 08:58:55 -06:00
3 changed files with 5 additions and 5 deletions

View File

@ -717,7 +717,7 @@ void EditorDockManager::focus_dock(Control *p_dock) {
}
if (all_docks[p_dock].at_bottom) {
EditorNode::get_bottom_panel()->make_item_visible(p_dock);
EditorNode::get_bottom_panel()->make_item_visible(p_dock, true, true);
return;
}