diff options
author | Alexander Holland <alexander.holland@live.de> | 2020-01-29 16:24:40 +0100 |
---|---|---|
committer | Alexander Holland <alexander.holland@live.de> | 2020-01-29 16:24:40 +0100 |
commit | d2a5b7367b17d4390e582a748ff47bf65f5d1ea3 (patch) | |
tree | 0aaf1b9cca0811116508c0e398ce825a3a1f0085 | |
parent | 9823dab9542e4c54d20c5269007dcf4bc43c263e (diff) |
Fix double tap pressed event regression
-rw-r--r-- | platform/android/os_android.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/android/os_android.cpp b/platform/android/os_android.cpp index 44c5b5d6b4..e5d9bdc60c 100644 --- a/platform/android/os_android.cpp +++ b/platform/android/os_android.cpp @@ -507,9 +507,8 @@ void OS_Android::process_double_tap(Point2 p_pos) { ev.instance(); ev->set_position(p_pos); ev->set_global_position(p_pos); - ev->set_pressed(true); + ev->set_pressed(false); ev->set_doubleclick(true); - ev->set_button_index(1); input->parse_input_event(ev); } |