mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-30 00:04:45 +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 {
|
ParallelAnimation {
|
||||||
id: parallelAnim
|
id: parallelAnim
|
||||||
property real animationDuration: Kirigami.Units.longDuration
|
property real animationDuration: Kirigami.Units.longDuration + Kirigami.Units.shortDuration
|
||||||
|
|
||||||
ScaleAnimator {
|
ScaleAnimator {
|
||||||
target: background
|
target: background
|
||||||
from: background.scale
|
from: background.scale
|
||||||
to: 1
|
to: 1
|
||||||
duration: parallelAnim.animationDuration
|
duration: parallelAnim.animationDuration
|
||||||
easing.type: Easing.InOutQuad
|
easing.type: Easing.OutCubic
|
||||||
}
|
}
|
||||||
ScaleAnimator {
|
ScaleAnimator {
|
||||||
target: iconParent
|
target: iconParent
|
||||||
from: iconParent.scale
|
from: iconParent.scale
|
||||||
to: 1
|
to: 1
|
||||||
duration: parallelAnim.animationDuration
|
duration: parallelAnim.animationDuration
|
||||||
easing.type: Easing.InOutQuad
|
easing.type: Easing.OutCubic
|
||||||
}
|
}
|
||||||
XAnimator {
|
XAnimator {
|
||||||
target: backgroundParent
|
target: backgroundParent
|
||||||
from: backgroundParent.x
|
from: backgroundParent.x
|
||||||
to: 0
|
to: 0
|
||||||
duration: parallelAnim.animationDuration
|
duration: parallelAnim.animationDuration
|
||||||
easing.type: Easing.InOutQuad
|
easing.type: Easing.OutCubic
|
||||||
}
|
}
|
||||||
YAnimator {
|
YAnimator {
|
||||||
target: backgroundParent
|
target: backgroundParent
|
||||||
from: backgroundParent.y
|
from: backgroundParent.y
|
||||||
to: 0
|
to: 0
|
||||||
duration: parallelAnim.animationDuration
|
duration: parallelAnim.animationDuration
|
||||||
easing.type: Easing.InOutQuad
|
easing.type: Easing.OutCubic
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue