mirror of
https://github.com/laosb/CropImage.git
synced 2025-04-30 23:51:08 +00:00
fix: Pass isCircular to DefaultCutHoleShape.
This commit is contained in:
parent
e4d096dafb
commit
030ac8cbde
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ public struct DefaultCutHoleView: View {
|
||||||
}
|
}
|
||||||
|
|
||||||
var background: some View {
|
var background: some View {
|
||||||
DefaultCutHoleShape(size: targetSize)
|
DefaultCutHoleShape(size: targetSize, isCircular: isCircular)
|
||||||
.fill(style: FillStyle(eoFill: true))
|
.fill(style: FillStyle(eoFill: true))
|
||||||
.foregroundColor(maskColor)
|
.foregroundColor(maskColor)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue