summaryrefslogtreecommitdiff
path: root/platform/osx
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2022-01-13 09:23:53 +0000
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2022-01-13 15:23:21 +0000
commit5250cdd150dbffc1387d8cc60bee7977b322117a (patch)
treeff7ab7cbc45fc09d6553c8489685d3289572ae0c /platform/osx
parent8fce6166cbc635b069c09b782ea67c495348abcb (diff)
Use mouse event relative motion to calculate mouse velocity
Diffstat (limited to 'platform/osx')
-rw-r--r--platform/osx/display_server_osx.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/osx/display_server_osx.mm b/platform/osx/display_server_osx.mm
index 27d302a984..8ce45d14a4 100644
--- a/platform/osx/display_server_osx.mm
+++ b/platform/osx/display_server_osx.mm
@@ -792,7 +792,6 @@ static void _mouseDownEvent(DisplayServer::WindowID window_id, NSEvent *event, M
mm->set_relative(relativeMotion);
_get_key_modifier_state([event modifierFlags], mm);
- Input::get_singleton()->set_mouse_position(wd.mouse_pos);
Input::get_singleton()->parse_input_event(mm);
}