From a7e227b7bb642bd994be2211b4db8abd4c62c338 Mon Sep 17 00:00:00 2001 From: aaronp64 Date: Sat, 29 Nov 2025 16:52:59 -0500 Subject: [PATCH] Fix bottom panel dock layout popup position Update EditorDockManager::_dock_container_popup to consistently use tab bar position to determine popup position, rather than combining tab bar and container positions. This handles cases where the tabs are on the bottom of the container, like for the bottom panel. --- editor/docks/editor_dock_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/docks/editor_dock_manager.cpp b/editor/docks/editor_dock_manager.cpp index 46d1b9b2ed2..76c5989bf54 100644 --- a/editor/docks/editor_dock_manager.cpp +++ b/editor/docks/editor_dock_manager.cpp @@ -298,7 +298,7 @@ void EditorDockManager::_dock_container_popup(int p_tab_idx, TabContainer *p_doc // Right click context menu. dock_context_popup->set_dock(hovered_dock); - dock_context_popup->set_position(p_dock_container->get_tab_bar()->get_screen_position() + p_dock_container->get_local_mouse_position()); + dock_context_popup->set_position(p_dock_container->get_tab_bar()->get_screen_position() + p_dock_container->get_tab_bar()->get_local_mouse_position()); dock_context_popup->popup(); }