Skip to content

Commit b28aeb0

Browse files
fix: properly calculate progress height
1 parent 035e486 commit b28aeb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComponentsKit/Components/ProgressBar/Models/ProgressBarVM.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ extension ProgressBarVM {
5959
}
6060

6161
var progressHeight: CGFloat {
62-
return self.backgroundHeight - self.progressPadding
62+
return self.backgroundHeight - self.progressPadding * 2
6363
}
6464

6565
func cornerRadius(for height: CGFloat) -> CGFloat {

0 commit comments

Comments
 (0)