forked from organicmaps/organicmaps
[ios] Fixed drag jump error.
This commit is contained in:
parent
fc7fcb7078
commit
f56095cfaf
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue