From 299afdd3344798541d923e85261cdf0e4c7af1d3 Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Fri, 29 Apr 2016 11:09:49 +0300 Subject: [PATCH] Fixed stopping of kinetic scroll on tap --- drape_frontend/user_event_stream.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drape_frontend/user_event_stream.cpp b/drape_frontend/user_event_stream.cpp index 5012c11fe5..99db6e3aad 100644 --- a/drape_frontend/user_event_stream.cpp +++ b/drape_frontend/user_event_stream.cpp @@ -712,6 +712,9 @@ bool UserEventStream::TouchDown(array 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]))