Browse Source

Merge pull request #59061 from fazil47/graph_edit_offset_fix

Rémi Verschelde 3 years ago
parent
commit
d7019de7e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/gui/graph_edit.cpp

+ 1 - 1
scene/gui/graph_edit.cpp

@@ -1170,7 +1170,7 @@ void GraphEdit::gui_input(const Ref<InputEvent> &p_ev) {
 				if (connecting) {
 				if (connecting) {
 					force_connection_drag_end();
 					force_connection_drag_end();
 				} else {
 				} else {
-					emit_signal(SNAME("popup_request"), get_screen_position() + b->get_position());
+					emit_signal(SNAME("popup_request"), b->get_position());
 				}
 				}
 			}
 			}
 		}
 		}