forked from organicmaps/organicmaps
Fixed stopping of kinetic scroll on tap
This commit is contained in:
parent
91da02ee22
commit
299afdd334
1 changed files with 3 additions and 0 deletions
|
@ -712,6 +712,9 @@ bool UserEventStream::TouchDown(array<Touch, 2> const & touches)
|
|||
size_t touchCount = GetValidTouchesCount(touches);
|
||||
bool isMapTouch = true;
|
||||
|
||||
// Interrupt kinetic scroll on touch down.
|
||||
m_animationSystem.FinishAnimations(Animation::KineticScroll, false /* rewind */);
|
||||
|
||||
if (touchCount == 1)
|
||||
{
|
||||
if (!DetectDoubleTap(touches[0]))
|
||||
|
|
Loading…
Add table
Reference in a new issue