Group damage regions by area increase
This commit is contained in:
parent
6270c33ed9
commit
f8cd1faa28
4 changed files with 199 additions and 108 deletions
|
|
@ -178,8 +178,8 @@ impl Primitive {
|
|||
}
|
||||
Self::Quad { bounds, .. }
|
||||
| Self::Image { bounds, .. }
|
||||
| Self::Svg { bounds, .. }
|
||||
| Self::Clip { bounds, .. } => bounds.expand(1.0),
|
||||
| Self::Svg { bounds, .. } => bounds.expand(1.0),
|
||||
Self::Clip { bounds, .. } => *bounds,
|
||||
Self::SolidMesh { size, .. } | Self::GradientMesh { size, .. } => {
|
||||
Rectangle::with_size(*size)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue