From 6e8a32d4e40e25e1c077394f1638a43176ebf9ed Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 24 Aug 2025 17:22:00 +1000 Subject: internal: use Anim component --- modules/bar/BarWrapper.qml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'modules/bar/BarWrapper.qml') diff --git a/modules/bar/BarWrapper.qml b/modules/bar/BarWrapper.qml index c4ba52c..cf9fa5a 100644 --- a/modules/bar/BarWrapper.qml +++ b/modules/bar/BarWrapper.qml @@ -1,5 +1,6 @@ pragma ComponentBehavior: Bound +import qs.components import qs.config import "popouts" as BarPopouts import Quickshell @@ -43,11 +44,10 @@ Item { from: "" to: "visible" - NumberAnimation { + Anim { target: root property: "implicitWidth" duration: Appearance.anim.durations.expressiveDefaultSpatial - easing.type: Easing.BezierSpline easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial } }, @@ -55,11 +55,9 @@ Item { from: "visible" to: "" - NumberAnimation { + Anim { target: root property: "implicitWidth" - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline easing.bezierCurve: Appearance.anim.curves.emphasized } } -- cgit v1.2.3-freya