mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 858550 - Don't transform fixed layer descendents multiple times. r=nrc
Once the transform for async scrolling has been applied to a fixed layer, it need not be applied to its descendents. Make sure to return after applying the transform.
This commit is contained in:
parent
1235a3318a
commit
07ba1920e8
@ -663,6 +663,10 @@ CompositorParent::TransformFixedLayers(Layer* aLayer,
|
||||
transformedClipRect.MoveBy(translation.x, translation.y);
|
||||
shadow->SetShadowClipRect(&transformedClipRect);
|
||||
}
|
||||
|
||||
// The transform has now been applied, so there's no need to iterate over
|
||||
// child layers.
|
||||
return;
|
||||
}
|
||||
|
||||
for (Layer* child = aLayer->GetFirstChild();
|
||||
|
Loading…
Reference in New Issue
Block a user