diff options
Diffstat (limited to 'components/controls/StyledSwitch.qml')
| -rw-r--r-- | components/controls/StyledSwitch.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/controls/StyledSwitch.qml b/components/controls/StyledSwitch.qml index c3e3957..7b23712 100644 --- a/components/controls/StyledSwitch.qml +++ b/components/controls/StyledSwitch.qml @@ -91,7 +91,7 @@ Switch { strokeWidth: Appearance.font.size.larger * 0.15 strokeColor: root.checked ? Colours.palette.m3primary : Colours.palette.m3surfaceContainerHighest fillColor: "transparent" - capStyle: ShapePath.RoundCap + capStyle: Appearance.rounding.scale === 0 ? ShapePath.SquareCap : ShapePath.RoundCap startX: icon.start1.x startY: icon.start1.y |