1
0
Fork 0
mirror of https://github.com/laosb/CropImage.git synced 2025-05-20 08:21:08 +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 { 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)
} }