forked from organicmaps/organicmaps
Review fixes
This commit is contained in:
parent
b769d15d66
commit
e79d163564
2 changed files with 2 additions and 2 deletions
|
@ -312,7 +312,7 @@ bool UserEventStream::ProcessTouch(TouchEvent const & touch)
|
|||
{
|
||||
isMapTouch |= TouchUp(touchEvent.m_touches);
|
||||
if (isMapTouch && touchEvent.GetMaskedCount() == GetValidTouchesCount(touchEvent.m_touches) &&
|
||||
m_kineticTimer.ElapsedMillis() >= kKineticDelayMs)
|
||||
m_kineticTimer.TimeElapsedAs<milliseconds>().count() >= kKineticDelayMs)
|
||||
{
|
||||
m_scroller.GrabViewRect(m_navigator.Screen(), touch.m_timeStamp);
|
||||
m_animation = m_scroller.CreateKineticAnimation(m_navigator.Screen());
|
||||
|
|
|
@ -288,7 +288,7 @@ private:
|
|||
m2::PointD m_startDragOrg;
|
||||
|
||||
KineticScroller m_scroller;
|
||||
my::HighResTimer m_kineticTimer;
|
||||
my::Timer m_kineticTimer;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue