diff options
author | Fredia Huya-Kouadio <fhuya@meta.com> | 2022-10-23 08:11:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 08:11:49 -0700 |
commit | 8b37511364f1345a0636c576a9d31d572b8607ef (patch) | |
tree | 03e3a097bf7b554d7627bf3b5002c4072b8bfcf3 /platform/ios/display_server_ios.mm | |
parent | 79bad6ab7f67809645480b1f35d13502e8ff92be (diff) | |
parent | 13e4770b97d0e6343556676dddb1b97d09d8bbdf (diff) |
Merge pull request #67755 from m4gr3d/input_event_screen_touch_double_tap_main
Add double_tap attribute to InputEventScreenTouch
Diffstat (limited to 'platform/ios/display_server_ios.mm')
-rw-r--r-- | platform/ios/display_server_ios.mm | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |