From 030ac8cbdeb99358d838d7ad49c6f0661e6dd924 Mon Sep 17 00:00:00 2001 From: Shibo Lyu Date: Thu, 7 Sep 2023 15:52:24 +0800 Subject: [PATCH] fix: Pass isCircular to DefaultCutHoleShape. --- Sources/CropImage/DefaultCutHoleView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/CropImage/DefaultCutHoleView.swift b/Sources/CropImage/DefaultCutHoleView.swift index e7a756f..4ff9807 100644 --- a/Sources/CropImage/DefaultCutHoleView.swift +++ b/Sources/CropImage/DefaultCutHoleView.swift @@ -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) }