summaryrefslogtreecommitdiff
path: root/bar/Mpris.qml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-07-15 19:19:22 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-07-15 19:19:22 +0800
commitc549a8a57aedde017dfd7c8ea53348d789c95fa7 (patch)
tree847478248d63a108c485bd6e5454de09c9ead5b3 /bar/Mpris.qml
parent3003550768e66d32a65e167de9d9e4b33947b489 (diff)
mpris: fix regression from 2898f1f
oops
Diffstat (limited to 'bar/Mpris.qml')
-rw-r--r--bar/Mpris.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/bar/Mpris.qml b/bar/Mpris.qml
index 9427d44..8ed478c 100644
--- a/bar/Mpris.qml
+++ b/bar/Mpris.qml
@@ -43,19 +43,20 @@ Item {
ProgressBar {
id: pBar
anchors.fill: parent
- anchors.margins: 1
from: 0
to: 1
value: root.progress
background: Rectangle {
anchors.fill: parent
color: WallustColors.color4
- radius: Style.rounding.smaller - 1
+ radius: Style.rounding.smaller
}
contentItem: Item {
Rectangle {
+ width: pBar.visualPosition * parent.width
+ height: parent.height
color: WallustColors.color3
- radius: Style.rounding.smaller - 1
+ radius: Style.rounding.smaller
Behavior on width {
NumberAnimation {