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-09-26 13:51:11 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:28:52 +0300
commit7feec7dc7a699b82307db405f8c1dcd77809a48b (patch)
treeddadccf4c7a95f3766e141f26009415ec5f268c0 /map/location_state.cpp
parentb58e285a591d14ca6af77d3695d23d538fa60c5f (diff)
[core] set default pixel binding when routing started
Diffstat (limited to 'map/location_state.cpp')
-rw-r--r--map/location_state.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/map/location_state.cpp b/map/location_state.cpp
index 3e92ddf122..45564427b3 100644
--- a/map/location_state.cpp
+++ b/map/location_state.cpp
@@ -276,6 +276,7 @@ void State::StartRoutingMode()
ASSERT(IsModeHasPosition(), ());
State::Mode newMode = IsRotationActive() ? RotateAndFollow : Follow;
SetModeInfo(ChangeMode(IncludeModeBit(m_modeInfo, RoutingSessionBit), newMode));
+ SetCurrentPixelBinding(GetModeDefaultPixelBinding(GetMode()));
}
void State::StopRoutingMode()