Fix transformation of canvas primitives in tiny_skia
This commit is contained in:
parent
88f3b00d96
commit
4020ad70b6
4 changed files with 781 additions and 524 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue