Skip to content

Commit

Permalink
fix: Pass isCircular to DefaultCutHoleShape.
Browse files Browse the repository at this point in the history
  • Loading branch information
laosb committed Sep 7, 2023
1 parent e4d096d commit 030ac8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CropImage/DefaultCutHoleView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 030ac8c

Please sign in to comment.