Fixed stopping of kinetic scroll on tap

This commit is contained in:
r.kuznetsov 2016-04-29 11:09:49 +03:00 committed by Alex Zolotarev
parent 91da02ee22
commit 299afdd334

View file

@ -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]))