1
0
Fork 0
mirror of https://github.com/laosb/CropImage.git synced 2025-07-10 13:25:34 +00:00

fix: Pass isCircular to DefaultCutHoleShape.

This commit is contained in:
Shibo Lyu 2023-09-07 15:52:24 +08:00
parent e4d096dafb
commit 030ac8cbde

View file

@ -28,7 +28,7 @@ public struct DefaultCutHoleView: View {
}
var background: some View {
DefaultCutHoleShape(size: targetSize)
DefaultCutHoleShape(size: targetSize, isCircular: isCircular)
.fill(style: FillStyle(eoFill: true))
.foregroundColor(maskColor)
}