From f0e0569737878da748aa5f74ee542d4eb978bf71 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 10 May 2025 20:19:53 +1000 Subject: launcher: fix interrupted transitions --- modules/launcher/AppList.qml | 12 ++++++++++++ modules/notifications/Content.qml | 6 ++++-- 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/launcher/AppList.qml b/modules/launcher/AppList.qml index 7e3bef0..b119ee8 100644 --- a/modules/launcher/AppList.qml +++ b/modules/launcher/AppList.qml @@ -67,6 +67,10 @@ ListView { Anim { property: "y" } + Anim { + properties: "opacity,scale" + to: 1 + } } addDisplaced: Transition { @@ -74,12 +78,20 @@ ListView { property: "y" duration: Appearance.anim.durations.small } + Anim { + properties: "opacity,scale" + to: 1 + } } displaced: Transition { Anim { property: "y" } + Anim { + properties: "opacity,scale" + to: 1 + } } Component { diff --git a/modules/notifications/Content.qml b/modules/notifications/Content.qml index ef5c0c0..34d0bcb 100644 --- a/modules/notifications/Content.qml +++ b/modules/notifications/Content.qml @@ -54,10 +54,12 @@ Item { } remove: Transition { + id: remove + Anim { property: "x" - from: 0 - to: NotifsConfig.sizes.width + to: remove.ViewTransition.item.x > 0 ? NotifsConfig.sizes.width : -NotifsConfig.sizes.width + duration: Appearance.anim.durations.large easing.bezierCurve: Appearance.anim.curves.emphasizedAccel } } -- cgit v1.2.3-freya