fix notif disappearing too fast

This commit is contained in:
end-4
2025-05-22 16:09:26 +02:00
parent ecbb72390a
commit 4130aa7d27
@@ -66,15 +66,15 @@ Item {
notificationBackground.anchors.left = undefined notificationBackground.anchors.left = undefined
notificationBackground.anchors.right = undefined notificationBackground.anchors.right = undefined
notificationBackground.anchors.fill = undefined notificationBackground.anchors.fill = undefined
notificationRowWrapper.x = width + 5 * 2 // Account for shadow notificationRowWrapper.x = width + (Appearance.sizes.hyprlandGapsOut + Appearance.sizes.elevationMargin) * 2 // Account for shadow
notificationBackground.x = width + 5 * 2 // Account for shadow notificationBackground.x = width + (Appearance.sizes.hyprlandGapsOut + Appearance.sizes.elevationMargin) * 2 // Account for shadow
destroyTimer1.start() destroyTimer1.start()
} }
} }
Timer { Timer {
id: destroyTimer1 id: destroyTimer1
interval: Appearance.animation.elementMoveFast.duration interval: notificationXAnimation.duration
repeat: false repeat: false
onTriggered: { onTriggered: {
notificationRowWrapper.anchors.top = undefined notificationRowWrapper.anchors.top = undefined