summaryrefslogtreecommitdiff
path: root/components/controls/CircularProgress.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/controls/CircularProgress.qml')
-rw-r--r--components/controls/CircularProgress.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/controls/CircularProgress.qml b/components/controls/CircularProgress.qml
index aa0de5c..209d53b 100644
--- a/components/controls/CircularProgress.qml
+++ b/components/controls/CircularProgress.qml
@@ -26,7 +26,7 @@ Shape {
fillColor: "transparent"
strokeColor: root.bgColour
strokeWidth: root.strokeWidth
- capStyle: ShapePath.RoundCap
+ capStyle: Appearance.rounding.scale === 0 ? ShapePath.SquareCap : ShapePath.RoundCap
PathAngleArc {
startAngle: root.startAngle + 360 * root.vValue + root.gapAngle
@@ -50,7 +50,7 @@ Shape {
fillColor: "transparent"
strokeColor: root.fgColour
strokeWidth: root.strokeWidth
- capStyle: ShapePath.RoundCap
+ capStyle: Appearance.rounding.scale === 0 ? ShapePath.SquareCap : ShapePath.RoundCap
PathAngleArc {
startAngle: root.startAngle