summaryrefslogtreecommitdiff
path: root/bar
diff options
context:
space:
mode:
Diffstat (limited to 'bar')
-rw-r--r--bar/ActiveWindow.qml4
-rw-r--r--bar/Mpris.qml4
-rw-r--r--bar/Workspace.qml2
3 files changed, 5 insertions, 5 deletions
diff --git a/bar/ActiveWindow.qml b/bar/ActiveWindow.qml
index db69e3e..fe239ed 100644
--- a/bar/ActiveWindow.qml
+++ b/bar/ActiveWindow.qml
@@ -45,8 +45,8 @@ IRect {
IconImage {
id: icon
source: root.icon
- implicitWidth: Bar.appIconSize
- implicitHeight: Bar.appIconSize
+ implicitWidth: General.appIconSize
+ implicitHeight: General.appIconSize
// sync animation
opacity: root.activated ? 1 : 0
diff --git a/bar/Mpris.qml b/bar/Mpris.qml
index 88f5b16..092e459 100644
--- a/bar/Mpris.qml
+++ b/bar/Mpris.qml
@@ -99,8 +99,8 @@ Item {
Item {
Layout.preferredWidth: childrenRect.width
Layout.preferredHeight: childrenRect.height
- width: Bar.appIconSize
- height: Bar.appIconSize
+ width: General.appIconSize
+ height: General.appIconSize
opacity: activePlayer?.playbackState === MprisPlaybackState.Playing ? 1 : Bar.mediaPausedOpacity
diff --git a/bar/Workspace.qml b/bar/Workspace.qml
index e04ad75..ebeeb6c 100644
--- a/bar/Workspace.qml
+++ b/bar/Workspace.qml
@@ -79,7 +79,7 @@ Item {
easing.type: Easing.InOutQuad
}
}
- Behavior on implicitWidth {
+ Behavior on width {
NumberAnimation {
duration: Bar.wsAnimationDuration
easing.type: Easing.InOutQuad