notifs: fix interactions
This commit is contained in:
parent
38e9e24390
commit
88c628a777
1 changed files with 358 additions and 358 deletions
|
|
@ -27,6 +27,14 @@ StyledRect {
|
||||||
x: Config.notifs.sizes.width
|
x: Config.notifs.sizes.width
|
||||||
Component.onCompleted: x = 0
|
Component.onCompleted: x = 0
|
||||||
|
|
||||||
|
Behavior on x {
|
||||||
|
NumberAnimation {
|
||||||
|
duration: Appearance.anim.durations.normal
|
||||||
|
easing.type: Easing.BezierSpline
|
||||||
|
easing.bezierCurve: Appearance.anim.curves.emphasizedDecel
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
RetainableLock {
|
RetainableLock {
|
||||||
object: root.modelData.notification
|
object: root.modelData.notification
|
||||||
locked: true
|
locked: true
|
||||||
|
|
@ -73,15 +81,6 @@ StyledRect {
|
||||||
if (actions?.length === 1)
|
if (actions?.length === 1)
|
||||||
actions[0].invoke();
|
actions[0].invoke();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Behavior on x {
|
|
||||||
NumberAnimation {
|
|
||||||
duration: Appearance.anim.durations.normal
|
|
||||||
easing.type: Easing.BezierSpline
|
|
||||||
easing.bezierCurve: Appearance.anim.curves.emphasizedDecel
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: inner
|
id: inner
|
||||||
|
|
@ -479,6 +478,7 @@ StyledRect {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
component Anim: NumberAnimation {
|
component Anim: NumberAnimation {
|
||||||
duration: Appearance.anim.durations.normal
|
duration: Appearance.anim.durations.normal
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue