mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[drape] Allow controlling viewport restoration on DeactivateMapSelection
Signed-off-by: hemanggs <hemangmanhas@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
fc199252eb
commit
90492e95e6
@@ -2057,14 +2057,14 @@ void Framework::DeactivateMapSelection()
|
||||
m_currentPlacePageInfo = {};
|
||||
|
||||
if (m_drapeEngine != nullptr)
|
||||
m_drapeEngine->DeselectObject();
|
||||
m_drapeEngine->DeselectObject(true);
|
||||
}
|
||||
}
|
||||
|
||||
void Framework::DeactivateMapSelectionCircle()
|
||||
void Framework::DeactivateMapSelectionCircle(bool restoreViewport)
|
||||
{
|
||||
if (m_drapeEngine != nullptr)
|
||||
m_drapeEngine->DeselectObject();
|
||||
m_drapeEngine->DeselectObject(restoreViewport);
|
||||
}
|
||||
|
||||
void Framework::SwitchFullScreen()
|
||||
|
||||
Reference in New Issue
Block a user