[ios] Fixed drag jump error.

This commit is contained in:
Ilya Grechuhin 2015-06-18 11:56:41 +03:00 committed by Alex Zolotarev
parent fc7fcb7078
commit f56095cfaf

View file

@ -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;
}