forked from organicmaps/organicmaps
Pull to bound area after a new visible viewport received.
This commit is contained in:
parent
cd8e9376cb
commit
1ec564351e
1 changed files with 1 additions and 0 deletions
|
@ -716,6 +716,7 @@ void FrontendRenderer::AcceptMessage(ref_ptr<Message> message)
|
|||
AddUserEvent(make_unique_dp<SetVisibleViewportEvent>(msg->GetRect()));
|
||||
m_myPositionController->SetVisibleViewport(msg->GetRect());
|
||||
m_myPositionController->UpdatePosition();
|
||||
PullToBoundArea(false /* randomPlace */, false /* applyZoom */);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue