From 489b3c2949836d4a419073ac367ab519a14a9e17 Mon Sep 17 00:00:00 2001 From: Alexander Holland Date: Wed, 29 Jan 2020 16:24:40 +0100 Subject: [PATCH] Fix double tap pressed event regression (cherry picked from commit d2a5b7367b17d4390e582a748ff47bf65f5d1ea3) --- platform/android/os_android.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/android/os_android.cpp b/platform/android/os_android.cpp index 44c5b5d6b4b..e5d9bdc60c1 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); }