mirror of
https://github.com/godotengine/godot.git
synced 2024-11-30 08:05:47 +00:00
popup_request signal emits mouse click position
This commit is contained in:
parent
d5076439e4
commit
a3598b487a
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user