mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[map] Don't save routing viewport
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -922,6 +922,9 @@ void Framework::PrepareToShutdown()
|
|||||||
|
|
||||||
void Framework::SaveViewport()
|
void Framework::SaveViewport()
|
||||||
{
|
{
|
||||||
|
if (m_routingManager.IsRoutingActive())
|
||||||
|
return;
|
||||||
|
|
||||||
m2::AnyRectD rect;
|
m2::AnyRectD rect;
|
||||||
if (m_currentModelView.isPerspective())
|
if (m_currentModelView.isPerspective())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user