Review fixes

This commit is contained in:
r.kuznetsov 2015-09-04 15:47:10 +03:00
parent b769d15d66
commit e79d163564
2 changed files with 2 additions and 2 deletions

View file

@ -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());

View file

@ -288,7 +288,7 @@ private:
m2::PointD m_startDragOrg;
KineticScroller m_scroller;
my::HighResTimer m_kineticTimer;
my::Timer m_kineticTimer;
};
}