From f56095cfaf739c3d9247e8f6cf6b20e9c4fa9f55 Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Thu, 18 Jun 2015 11:56:41 +0300 Subject: [PATCH] [ios] Fixed drag jump error. --- iphone/Maps/Classes/MapViewController.mm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iphone/Maps/Classes/MapViewController.mm b/iphone/Maps/Classes/MapViewController.mm index b967e070aa..d268242203 100644 --- a/iphone/Maps/Classes/MapViewController.mm +++ b/iphone/Maps/Classes/MapViewController.mm @@ -379,12 +379,17 @@ typedef NS_ENUM(NSUInteger, UserTouchesAction) { if (f.GetGuiController()->OnTapStarted(m_Pt1)) return; + self.userTouchesAction = UserTouchesActionDrag; // Start long-tap timer [self preformLongTapSelector:[NSValue valueWithCGPoint:[theTouch locationInView:self.view]]]; // Temporary solution to filter long touch m_touchDownPoint = m_Pt1; } + else + { + self.userTouchesAction = UserTouchesActionScale; + } m_isSticking = true; }