forked from Shinonome/dots-hyprland
fix notif disappearing too fast
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user