mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[android] Follow up after trackVisibleViewport=true.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
@@ -825,7 +825,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 */);
|
||||
// PullToBoundArea(false /* randomPlace */, false /* applyZoom */);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -2056,7 +2056,7 @@ void FrontendRenderer::OnScaleEnded()
|
||||
void FrontendRenderer::OnAnimatedScaleEnded()
|
||||
{
|
||||
m_myPositionController->ResetBlockAutoZoomTimer();
|
||||
PullToBoundArea(false /* randomPlace */, false /* applyZoom */);
|
||||
// PullToBoundArea(false /* randomPlace */, false /* applyZoom */);
|
||||
m_firstLaunchAnimationInterrupted = true;
|
||||
m_selectionTrackInfo.reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user