mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 788044 - Apply the ContainerState offset to ImageLayers. r=roc
This commit is contained in:
parent
529f1dc146
commit
65c75afdfb
@ -1373,6 +1373,7 @@ ContainerState::PopThebesLayerData()
|
||||
mParameters.mYScale);
|
||||
if (data->mItemClip.mHaveClipRect) {
|
||||
nsIntRect clip = ScaleToNearestPixels(data->mItemClip.mClipRect);
|
||||
clip.MoveBy(mParameters.mOffset);
|
||||
imageLayer->IntersectClipRect(clip);
|
||||
}
|
||||
layer = imageLayer;
|
||||
|
Loading…
Reference in New Issue
Block a user