summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bar/Mpris.qml5
1 files changed, 1 insertions, 4 deletions
diff --git a/bar/Mpris.qml b/bar/Mpris.qml
index 9b9e51a..8d1b42f 100644
--- a/bar/Mpris.qml
+++ b/bar/Mpris.qml
@@ -28,7 +28,7 @@ Item {
return title.trim();
}
- implicitWidth: activePlayer ? rect.implicitWidth : 0
+ implicitWidth: activePlayer ? rect.implicitWidth - General.rectMargin : 0
height: Bar.height + General.rectMargin / 1.5
opacity: activePlayer ? 1 : 0
@@ -39,7 +39,6 @@ Item {
height: parent.height - General.rectMargin
radius: Style.rounding.smaller
color: "transparent"
- clip: true
ProgressBar {
id: pBar
@@ -55,8 +54,6 @@ Item {
}
contentItem: Item {
Rectangle {
- width: pBar.visualPosition * parent.width
- height: parent.height
color: Colors.primary
radius: Style.rounding.smaller - 1