forked from organicmaps/organicmaps
[guides on map] Stop follow location when the guides gallery is open.
This commit is contained in:
parent
7cb7f158e1
commit
f483ec4685
1 changed files with 3 additions and 0 deletions
|
@ -2430,6 +2430,9 @@ void Framework::ActivateMapSelection(std::optional<place_page::Info> const & inf
|
|||
if (!info)
|
||||
return;
|
||||
|
||||
if (info->GetSelectedObject() == df::SelectionShape::OBJECT_GUIDE)
|
||||
StopLocationFollow();
|
||||
|
||||
if (info->GetSelectedObject() == df::SelectionShape::OBJECT_TRACK)
|
||||
GetBookmarkManager().OnTrackSelected(info->GetTrackId());
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue