forked from organicmaps/organicmaps
[guides on map] zoom-out from incorrect place is fixed.
This commit is contained in:
parent
33c525de3f
commit
715aa34bc5
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ void GuidesManager::SetStateListener(GuidesStateChangedFn const & onStateChanged
|
|||
|
||||
void GuidesManager::UpdateViewport(ScreenBase const & screen)
|
||||
{
|
||||
m_lastShownViewport = m_screen.GlobalRect();
|
||||
m_lastShownViewport = screen.GlobalRect();
|
||||
auto const zoom = df::GetDrawTileScale(screen);
|
||||
|
||||
if (m_state == GuidesState::Disabled || m_state == GuidesState::FatalNetworkError)
|
||||
|
|
Loading…
Add table
Reference in a new issue