summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {