From 13e4770b97d0e6343556676dddb1b97d09d8bbdf Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Sat, 22 Oct 2022 07:30:46 -0700 Subject: Add double_tap attribute to InputEventScreenTouch This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events. --- platform/ios/display_server_ios.mm | 1 + 1 file changed, 1 insertion(+) (limited to 'platform/ios') diff --git a/platform/ios/display_server_ios.mm b/platform/ios/display_server_ios.mm index d3a0f38463..cf0fae4997 100644 --- a/platform/ios/display_server_ios.mm +++ b/platform/ios/display_server_ios.mm @@ -235,6 +235,7 @@ void DisplayServerIOS::touch_press(int p_idx, int p_x, int p_y, bool p_pressed, ev->set_index(p_idx); ev->set_pressed(p_pressed); ev->set_position(Vector2(p_x, p_y)); + ev->set_double_tap(p_double_click); perform_event(ev); } } -- cgit v1.2.3