mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1180267 - Don't set root displayport margins from the mobile viewport manager unless the C++ APZ is enabled. r=botond
This commit is contained in:
parent
3ba111921f
commit
cdbf335256
@ -273,7 +273,9 @@ MobileViewportManager::RefreshViewportSize(bool aForceAdjustResolution)
|
||||
MVM_LOG("%p: New zoom is %f\n", this, zoom.scale);
|
||||
UpdateSPCSPS(displaySize, zoom);
|
||||
}
|
||||
UpdateDisplayPortMargins();
|
||||
if (gfxPlatform::AsyncPanZoomEnabled()) {
|
||||
UpdateDisplayPortMargins();
|
||||
}
|
||||
|
||||
// Update internal state.
|
||||
mIsFirstPaint = false;
|
||||
|
Loading…
Reference in New Issue
Block a user