mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 801365 - Invalidate ThebesLayers if the zoom factor changes. r=roc
This commit is contained in:
parent
f743e85a32
commit
48c7fedb20
@ -1280,7 +1280,8 @@ ContainerState::CreateOrRecycleThebesLayer(const nsIFrame* aActiveScrolledRoot,
|
||||
// we ensure that mInvalidThebesContent is updated according to the
|
||||
// scroll position as of the most recent paint.
|
||||
if (!FuzzyEqual(data->mXScale, mParameters.mXScale, 0.00001) ||
|
||||
!FuzzyEqual(data->mYScale, mParameters.mYScale, 0.00001)) {
|
||||
!FuzzyEqual(data->mYScale, mParameters.mYScale, 0.00001) ||
|
||||
data->mAppUnitsPerDevPixel != mAppUnitsPerDevPixel) {
|
||||
InvalidateEntireThebesLayer(layer, aActiveScrolledRoot);
|
||||
didResetScrollPositionForLayerPixelAlignment = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user