Pull to bound area after a new visible viewport received.

This commit is contained in:
Daria Volvenkova 2017-05-15 15:25:08 +03:00
parent cd8e9376cb
commit 1ec564351e

View file

@ -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;
}