diff options
| author | jmb462 <jmb462@gmail.com> | 2021-08-31 17:43:35 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-12-06 14:29:48 +0100 |
| commit | 81efebb3a170dd6194905599361c38ae4246c434 (patch) | |
| tree | 0dc5df12b8df69c2272836bfbb66bbb30037a709 /scene/gui/graph_edit.cpp | |
| parent | ede7614fe2e088f9ece1e1aba5cb3d5fceb476e4 (diff) | |
| download | redot-engine-81efebb3a170dd6194905599361c38ae4246c434.tar.gz | |
Fix bad popups offset in editor with single window off
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
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()); } } } |
