From bd2bd03ff6006e14b6efd169393e255cba335748 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 9126fd7419..6090979530 100644 --- a/drape_frontend/user_event_stream.cpp +++ b/drape_frontend/user_event_stream.cpp @@ -700,6 +700,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 */); // Interrupt kinetic scroll on touch down. m_animationSystem.FinishAnimations(Animation::KineticScroll, false /* rewind */);