fix(tiny-skia): correct clip bounds transformation

This commit is contained in:
Thomas Gatzweiler 2025-04-01 13:29:54 +02:00
parent a50a56a29d
commit f931d55544

View file

@ -191,7 +191,7 @@ impl Layer {
) { ) {
self.primitives.push(Item::Group( self.primitives.push(Item::Group(
primitives, primitives,
clip_bounds, clip_bounds * transformation,
transformation, transformation,
)); ));
} }
@ -204,7 +204,7 @@ impl Layer {
) { ) {
self.primitives.push(Item::Cached( self.primitives.push(Item::Cached(
primitives, primitives,
clip_bounds, clip_bounds * transformation,
transformation, transformation,
)); ));
} }