mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 17:11:30 +00:00
Merge pull request #56755 from madmiraal/fix-45592-3.x
This commit is contained in:
commit
ed869729ae
5 changed files with 8 additions and 14 deletions
|
|
@ -316,7 +316,6 @@ void OS_JavaScript::mouse_move_callback(double p_x, double p_y, double p_rel_x,
|
|||
ev->set_global_position(ev->get_position());
|
||||
|
||||
ev->set_relative(Vector2(p_rel_x, p_rel_y));
|
||||
os->input->set_mouse_position(ev->get_position());
|
||||
ev->set_speed(os->input->get_last_mouse_speed());
|
||||
|
||||
os->input->parse_input_event(ev);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue