diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-12-09 07:39:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 07:39:36 +0100 |
commit | 719d6980deef2015699e515884e28051fdee9cee (patch) | |
tree | 23c2bcc3537f33e990759c5faaefded51753a340 /platform | |
parent | 45d627a845dd991c2ea1a982dc028c591dd41e74 (diff) | |
parent | d543917c037d123b025f7762ada0d2493e5e8fe4 (diff) |
Merge pull request #44203 from thebestnom/fix/Android-Capture-Mouse
Android: fix mouse capture relative wrong
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/display_server_android.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/android/display_server_android.cpp b/platform/android/display_server_android.cpp index 4d6634256d..8711a4333c 100644 --- a/platform/android/display_server_android.cpp +++ b/platform/android/display_server_android.cpp @@ -725,7 +725,6 @@ void DisplayServerAndroid::process_mouse_event(int input_device, int event_actio ev->set_global_position(hover_prev_pos); ev->set_relative(event_pos); } - ev->set_relative(event_pos - hover_prev_pos); ev->set_button_mask(event_buttons_mask); Input::get_singleton()->accumulate_input_event(ev); } break; |