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/osd/Wrapper.qml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'modules/osd') diff --git a/modules/osd/Wrapper.qml b/modules/osd/Wrapper.qml index e99bea6..c1e96d6 100644 --- a/modules/osd/Wrapper.qml +++ b/modules/osd/Wrapper.qml @@ -1,3 +1,4 @@ +import qs.components import qs.services import qs.config import Quickshell @@ -27,11 +28,9 @@ Item { from: "" to: "visible" - NumberAnimation { + Anim { target: root property: "implicitWidth" - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial } }, @@ -39,11 +38,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