Fix transformation of canvas primitives in tiny_skia

This commit is contained in:
Héctor Ramón Jiménez 2026-01-28 05:19:02 +01:00 committed by Ashley Wulber
parent 88f3b00d96
commit 4020ad70b6
4 changed files with 781 additions and 524 deletions

View file

@ -277,8 +277,8 @@ impl Layer {
.filter_map(|bounds| bounds.intersection(group_bounds))
.collect()
}
Item::Cached(_, bounds, transformation) => {
vec![*bounds * *transformation]
Item::Cached(_primitives, bounds, _transformation) => {
vec![*bounds]
}
},
|primitive_a, primitive_b| match (primitive_a, primitive_b) {