Files
illogical-impulse/dots/.config/quickshell/ii/modules/waffle/notificationCenter/WNotificationDismissAnim.qml
T
2025-12-13 23:07:26 +01:00

33 lines
734 B
QML

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import qs.modules.common
import qs.modules.common.widgets
import qs.modules.common.functions
import qs.modules.waffle.looks
SequentialAnimation {
id: root
required property var target
PropertyAction {
target: root.target
property: "ListView.delayRemove"
value: true
}
NumberAnimation {
target: root.target
property: "x"
to: root.target.width
duration: 250
easing.type: Easing.BezierSpline
easing.bezierCurve: Looks.transition.easing.bezierCurve.easeIn
}
PropertyAction {
target: root.target
property: "ListView.delayRemove"
value: false
}
}