From c549a8a57aedde017dfd7c8ea53348d789c95fa7 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 15 Jul 2025 19:19:22 +0800 Subject: mpris: fix regression from 2898f1f oops --- bar/Mpris.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bar') 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 { -- cgit v1.2.3