diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-09-26 13:51:11 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:28:52 +0300 |
commit | 7feec7dc7a699b82307db405f8c1dcd77809a48b (patch) | |
tree | ddadccf4c7a95f3766e141f26009415ec5f268c0 /map/location_state.cpp | |
parent | b58e285a591d14ca6af77d3695d23d538fa60c5f (diff) |
[core] set default pixel binding when routing started
Diffstat (limited to 'map/location_state.cpp')
-rw-r--r-- | map/location_state.cpp | 1 |
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() |