Skip to content

Commit 9ae7ed5

Browse files
committed
fix swiftui handle cornerRadius
1 parent 2812bd2 commit 9ae7ed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComponentsKit/Components/Slider/SUSlider.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public struct SUSlider: View {
4242
.frame(width: barWidth, height: self.model.trackHeight)
4343

4444
// Handle
45-
RoundedRectangle(cornerRadius: self.model.cornerRadius(for: self.model.handleSize.height))
45+
RoundedRectangle(cornerRadius: self.model.cornerRadius(for: self.model.handleSize.width))
4646
.foregroundStyle(self.model.color.main.color)
4747
.frame(width: self.model.handleSize.width, height: self.model.handleSize.height)
4848
.overlay(

0 commit comments

Comments
 (0)