diff --git a/src/editor/graph/graph_edit.cpp b/src/editor/graph/graph_edit.cpp index c2003e3c..b9856033 100644 --- a/src/editor/graph/graph_edit.cpp +++ b/src/editor/graph/graph_edit.cpp @@ -1821,7 +1821,7 @@ void OrchestratorGraphEdit::_on_paste_nodes_request() } Vector2 mouse_up_position = get_screen_position() + get_local_mouse_position(); - Vector2 position_offset = (get_scroll_offset() + (mouse_up_position - get_global_position())) / get_zoom(); + Vector2 position_offset = (get_scroll_offset() + (mouse_up_position - get_screen_position())) / get_zoom(); if (is_snapping_enabled()) { int snap = get_snapping_distance();