diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-09-13 17:59:27 -0700 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-09-13 17:59:27 -0700 |
commit | d4b51817e02f89ccfedccdc6d6656799a00b56bc (patch) | |
tree | 9408b4119c0cb510f5aa0bdda7a98552c3734dac | |
parent | f1b22446bef3d5da9358fb406e71c83c18c36beb (diff) | |
download | sdl_ios-d4b51817e02f89ccfedccdc6d6656799a00b56bc.tar.gz |
Fixed issue relating to not all single touch callbacks. firing.hotfix/issue_441_single_touch_events
-rw-r--r-- | SmartDeviceLink/SDLTouchManager.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLTouchManager.m b/SmartDeviceLink/SDLTouchManager.m index d748eb06d..f0b2e495c 100644 --- a/SmartDeviceLink/SDLTouchManager.m +++ b/SmartDeviceLink/SDLTouchManager.m @@ -265,6 +265,7 @@ static NSUInteger const MaximumNumberOfTouches = 2; self.singleTapTimer = dispatch_create_timer(self.tapTimeThreshold, NO, ^{ typeof(weakSelf) strongSelf = weakSelf; strongSelf.singleTapTouch = nil; + [strongSelf sdl_cancelSingleTapTimer]; if ([strongSelf.touchEventDelegate respondsToSelector:@selector(touchManager:didReceiveSingleTapAtPoint:)]) { [strongSelf.touchEventDelegate touchManager:strongSelf didReceiveSingleTapAtPoint:point]; |