forked from organicmaps/organicmaps
Reset not follow mode on click on waiting for location
This commit is contained in:
parent
1d48f20bcb
commit
3ea8a55aa1
1 changed files with 2 additions and 0 deletions
|
@ -345,6 +345,8 @@ void MyPositionController::NextMode(ScreenBase const & screen)
|
|||
// Skip switching to next mode while we are waiting for position.
|
||||
if (IsWaitingForLocation())
|
||||
{
|
||||
m_notFollowAfterPending = false;
|
||||
|
||||
alohalytics::LogEvent(kAlohalyticsClickEvent,
|
||||
LocationModeStatisticsName(location::PendingPosition));
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue