Expand damage regions of Clip primitives a bit
This commit is contained in:
parent
200a29c069
commit
38f82ab35f
2 changed files with 5 additions and 3 deletions
|
|
@ -179,7 +179,7 @@ impl Primitive {
|
|||
Self::Quad { bounds, .. }
|
||||
| Self::Image { bounds, .. }
|
||||
| Self::Svg { bounds, .. } => bounds.expand(1.0),
|
||||
Self::Clip { bounds, .. } => *bounds,
|
||||
Self::Clip { bounds, .. } => bounds.expand(1.0),
|
||||
Self::SolidMesh { size, .. } | Self::GradientMesh { size, .. } => {
|
||||
Rectangle::with_size(*size)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue