From d2a5b7367b17d4390e582a748ff47bf65f5d1ea3 Mon Sep 17 00:00:00 2001 From: Alexander Holland Date: Wed, 29 Jan 2020 16:24:40 +0100 Subject: Fix double tap pressed event regression --- platform/android/os_android.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'platform/android/os_android.cpp') 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); } -- cgit v1.2.3