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/popouts/TrayMenu.qml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) (limited to 'modules/bar/popouts/TrayMenu.qml') diff --git a/modules/bar/popouts/TrayMenu.qml b/modules/bar/popouts/TrayMenu.qml index 67305b5..986c806 100644 --- a/modules/bar/popouts/TrayMenu.qml +++ b/modules/bar/popouts/TrayMenu.qml @@ -22,10 +22,10 @@ StackView { handle: root.trayItem } - pushEnter: Anim {} - pushExit: Anim {} - popEnter: Anim {} - popExit: Anim {} + pushEnter: NoAnim {} + pushExit: NoAnim {} + popEnter: NoAnim {} + popExit: NoAnim {} HyprlandFocusGrab { active: true @@ -33,7 +33,7 @@ StackView { onCleared: root.popouts.hasCurrent = false } - component Anim: Transition { + component NoAnim: Transition { NumberAnimation { duration: 0 } @@ -58,19 +58,11 @@ StackView { StackView.onRemoved: destroy() Behavior on opacity { - NumberAnimation { - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard - } + Anim {} } Behavior on scale { - NumberAnimation { - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard - } + Anim {} } QsMenuOpener { -- cgit v1.2.3-freya