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/launcher/Wrapper.qml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'modules/launcher/Wrapper.qml') diff --git a/modules/launcher/Wrapper.qml b/modules/launcher/Wrapper.qml index f1ab672..d977b07 100644 --- a/modules/launcher/Wrapper.qml +++ b/modules/launcher/Wrapper.qml @@ -1,3 +1,4 @@ +import qs.components import qs.config import Quickshell import QtQuick @@ -26,11 +27,10 @@ Item { from: "" to: "visible" - NumberAnimation { + Anim { target: root property: "implicitHeight" duration: Appearance.anim.durations.expressiveDefaultSpatial - easing.type: Easing.BezierSpline easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial } }, @@ -38,11 +38,9 @@ Item { from: "visible" to: "" - NumberAnimation { + Anim { target: root property: "implicitHeight" - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline easing.bezierCurve: Appearance.anim.curves.emphasized } } -- cgit v1.2.3-freya