popup_request signal emits mouse click position

This commit is contained in:
Fazil Babu 2022-03-12 13:58:32 +05:30
parent d5076439e4
commit a3598b487a

View File

@ -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());
}
}
}