summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-12 15:03:38 +0100
committerGitHub <noreply@github.com>2022-03-12 15:03:38 +0100
commitd7019de7e3c416e5492d1508b39c9b25adc2483a (patch)
treebdb6c7dc4ba0e68c6a28c5b6e15c41911ba1d3c2
parent38122b8d850af0542c28b3e6d535bf472d610354 (diff)
parenta3598b487acb028aac197ea962dfd89d43198df7 (diff)
Merge pull request #59061 from fazil47/graph_edit_offset_fix
-rw-r--r--scene/gui/graph_edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp
index ab21c747cf..1394b4192f 100644
--- a/scene/gui/graph_edit.cpp
+++ b/scene/gui/graph_edit.cpp
@@ -1170,7 +1170,7 @@ void GraphEdit::gui_input(const Ref<InputEvent> &p_ev) {
if (connecting) {
force_connection_drag_end();
} else {
- emit_signal(SNAME("popup_request"), get_screen_position() + b->get_position());
+ emit_signal(SNAME("popup_request"), b->get_position());
}
}
}