Skip to content

Commit

Permalink
[Fix] #252 - Circle trim 명세서에 맞게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yungu0010 committed May 10, 2024
1 parent 9ea62ca commit 5f8ad7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct CircularProgressBarView: View {
.foregroundColor(.gray3)

Circle()
.trim(from: 0, to: percent)
.trim(from: 0, to: 0 < percent && percent < 1 ? 0.5 : percent)
.stroke(style: StrokeStyle(lineWidth: lineWidth, lineCap: .butt))
.frame(width: size, height: size)
.foregroundColor(.green2)
Expand Down

0 comments on commit 5f8ad7b

Please sign in to comment.