Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorExMix <rahuba.youri@mapswithme.com>2014-10-07 11:52:19 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:29:36 +0300
commitb0d448d75b4834a6a84838502dbf7017bfc68941 (patch)
treef4f43d0d07dbbd638e136a507081f3bc1c939b81 /map/compass_arrow.cpp
parentf112716093994d2885d48659093b5d23be106324 (diff)
[core] improved animation on compass tap
Diffstat (limited to 'map/compass_arrow.cpp')
-rw-r--r--map/compass_arrow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/map/compass_arrow.cpp b/map/compass_arrow.cpp
index d27c881b4f..b14dd14726 100644
--- a/map/compass_arrow.cpp
+++ b/map/compass_arrow.cpp
@@ -200,8 +200,7 @@ bool CompassArrow::onTapEnded(m2::PointD const & pt)
anim::Controller::Guard guard(animController);
// switching off compass follow mode
- m_framework->GetInformationDisplay().locationState()->StopCompassFollowing();
- m_framework->GetAnimator().RotateScreen(m_framework->GetNavigator().Screen().GetAngle(), 0.0);
+ m_framework->GetLocationState()->OnCompassTaped();
m_framework->Invalidate();
return true;