You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Merge pull request #16270 from xsellier/bugfix-15354/mouse-global-pos-not-set
Bugfix: This should fix the issue with the mouse global position
This commit is contained in:
@@ -434,6 +434,8 @@ LRESULT OS_Windows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
}
|
||||
|
||||
input->set_mouse_pos(Point2(mm.x, mm.y));
|
||||
mm.global_x = mm.x;
|
||||
mm.global_y = mm.y;
|
||||
mm.speed_x = input->get_mouse_speed().x;
|
||||
mm.speed_y = input->get_mouse_speed().y;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user