summaryrefslogtreecommitdiff
path: root/modules/dashboard/dash
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-17 16:06:38 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-17 16:06:38 +1000
commit5c93d07a8e8b4c0b4cea76a5f4d259a08c1c277a (patch)
treea312e33f38e463c0ccef5c76199fbb9c18cca9f5 /modules/dashboard/dash
parentlock: refactor (diff)
downloadcaelestia-shell-5c93d07a8e8b4c0b4cea76a5f4d259a08c1c277a.tar.gz
caelestia-shell-5c93d07a8e8b4c0b4cea76a5f4d259a08c1c277a.tar.bz2
caelestia-shell-5c93d07a8e8b4c0b4cea76a5f4d259a08c1c277a.zip
internal: scale rounding properly
Diffstat (limited to 'modules/dashboard/dash')
-rw-r--r--modules/dashboard/dash/Media.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/dashboard/dash/Media.qml b/modules/dashboard/dash/Media.qml
index 079df34..ada469f 100644
--- a/modules/dashboard/dash/Media.qml
+++ b/modules/dashboard/dash/Media.qml
@@ -40,7 +40,7 @@ Item {
fillColor: "transparent"
strokeColor: Colours.layer(Colours.palette.m3surfaceContainerHigh, 2)
strokeWidth: Config.dashboard.sizes.mediaProgressThickness
- capStyle: ShapePath.RoundCap
+ capStyle: Appearance.rounding.scale === 0 ? ShapePath.SquareCap : ShapePath.RoundCap
PathAngleArc {
centerX: cover.x + cover.width / 2
@@ -64,7 +64,7 @@ Item {
fillColor: "transparent"
strokeColor: Colours.palette.m3primary
strokeWidth: Config.dashboard.sizes.mediaProgressThickness
- capStyle: ShapePath.RoundCap
+ capStyle: Appearance.rounding.scale === 0 ? ShapePath.SquareCap : ShapePath.RoundCap
PathAngleArc {
centerX: cover.x + cover.width / 2