Merge pull request #2977 from DKolter/issue_2934
Fix tiny skia primitive rendering
This commit is contained in:
commit
b3e1be5def
3 changed files with 29 additions and 41 deletions
|
|
@ -268,8 +268,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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue