mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-21 02:33:50 +00:00
[drape] Remember navigation mode between sessions
Signed-off-by: Leonardo Bishop <me@leonardobishop.net>
This commit is contained in:
committed by
Konstantin Pastbin
parent
2b6cd0db54
commit
f9485d44f5
@@ -206,6 +206,12 @@ void Framework::SwitchMyPositionNextMode()
|
||||
m_drapeEngine->SwitchMyPositionNextMode();
|
||||
}
|
||||
|
||||
void Framework::StartPendingPositionMode()
|
||||
{
|
||||
if (m_drapeEngine != nullptr)
|
||||
m_drapeEngine->StartPendingPositionMode();
|
||||
}
|
||||
|
||||
void Framework::SetMyPositionModeListener(TMyPositionModeChanged && fn)
|
||||
{
|
||||
m_myPositionListener = std::move(fn);
|
||||
|
||||
Reference in New Issue
Block a user