You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 19:11:41 +00:00
popup_request signal emits mouse click position
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user