Fix tiny skia primitive rendering

This commit is contained in:
DKolter 2025-06-03 11:25:50 +02:00
parent 7afbb89ebf
commit 85d8dbde90
3 changed files with 29 additions and 41 deletions

View file

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