From 04b4884a50b2e12c70e31c28258ef98cd7d1f856 Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Wed, 13 Jan 2021 15:54:58 +0700 Subject: [PATCH] Update ViewController.m --- Natives/ViewController.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Natives/ViewController.m b/Natives/ViewController.m index 4d491f0f..bf323fa5 100644 --- a/Natives/ViewController.m +++ b/Natives/ViewController.m @@ -79,21 +79,21 @@ - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesBegan: touches withEvent: event]; - [self sendTouchEvent: touches withEvent: ACTION_DOWN); + [self sendTouchEvent: touches withEvent: ACTION_DOWN]; } // Equals to Android ACTION_MOVE - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesMoved: touches withEvent: event]; - [self sendTouchEvent: touches withEvent: ACTION_MOVE); + [self sendTouchEvent: touches withEvent: ACTION_MOVE]; } // Equals to Android ACTION_UP - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesEnded: touches withEvent: event]; - [self sendTouchEvent: touches withEvent: ACTION_UP); + [self sendTouchEvent: touches withEvent: ACTION_UP]; } // #pragma mark - GLKView and GLKViewController delegate methods