diff options
Diffstat (limited to 'modules/notifications/Content.qml')
| -rw-r--r-- | modules/notifications/Content.qml | 6 |
1 files changed, 4 insertions, 2 deletions
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 } } |