You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Merge pull request #113339 from aaronp64/bottom_dock_popup
Fix bottom panel dock layout popup position
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user