diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-12-06 16:05:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-06 16:05:10 +0100 |
commit | e8082003f19ad8d98b6b2f74f64f4eaa7fe86353 (patch) | |
tree | 59ac76c6766279ce53f7b274053db8ca5d0d4fd8 /scene/gui/graph_edit.cpp | |
parent | 78fd56a5968e7618f2a39f2759ead4c41b36734a (diff) | |
parent | 81efebb3a170dd6194905599361c38ae4246c434 (diff) |
Merge pull request #52280 from jmb462/fix-bad-popup-offset-with-single-window-off
Diffstat (limited to 'scene/gui/graph_edit.cpp')
-rw-r--r-- | scene/gui/graph_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index e7d98a686f..b0050f028b 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -1166,7 +1166,7 @@ void GraphEdit::gui_input(const Ref<InputEvent> &p_ev) { top_layer->update(); minimap->update(); } else { - emit_signal(SNAME("popup_request"), b->get_global_position()); + emit_signal(SNAME("popup_request"), get_screen_position() + b->get_position()); } } } |