diff options
Diffstat (limited to 'modules/bar/components/Tray.qml')
| -rw-r--r-- | modules/bar/components/Tray.qml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/modules/bar/components/Tray.qml b/modules/bar/components/Tray.qml index a635b76..ccebe1f 100644 --- a/modules/bar/components/Tray.qml +++ b/modules/bar/components/Tray.qml @@ -9,7 +9,6 @@ StyledRect { property color colour: Colours.palette.lavender - animate: true clip: true visible: width > 0 && height > 0 // To avoid warnings about being visible with no size @@ -22,4 +21,20 @@ StyledRect { } } } + + Behavior on implicitWidth { + NumberAnimation { + duration: Appearance.anim.durations.normal + easing.type: Easing.BezierSpline + easing.bezierCurve: Appearance.anim.curves.emphasized + } + } + + Behavior on implicitHeight { + NumberAnimation { + duration: Appearance.anim.durations.normal + easing.type: Easing.BezierSpline + easing.bezierCurve: Appearance.anim.curves.emphasized + } + } } |