mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
startupfeedback: Revert to original animation
This commit is contained in:
parent
3ce21b972e
commit
ddc04069a3
1 changed files with 5 additions and 5 deletions
|
|
@ -78,35 +78,35 @@ Item {
|
|||
|
||||
ParallelAnimation {
|
||||
id: parallelAnim
|
||||
property real animationDuration: Kirigami.Units.longDuration
|
||||
property real animationDuration: Kirigami.Units.longDuration + Kirigami.Units.shortDuration
|
||||
|
||||
ScaleAnimator {
|
||||
target: background
|
||||
from: background.scale
|
||||
to: 1
|
||||
duration: parallelAnim.animationDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
ScaleAnimator {
|
||||
target: iconParent
|
||||
from: iconParent.scale
|
||||
to: 1
|
||||
duration: parallelAnim.animationDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
XAnimator {
|
||||
target: backgroundParent
|
||||
from: backgroundParent.x
|
||||
to: 0
|
||||
duration: parallelAnim.animationDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
YAnimator {
|
||||
target: backgroundParent
|
||||
from: backgroundParent.y
|
||||
to: 0
|
||||
duration: parallelAnim.animationDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue