mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-27 14:50:21 +03:00
play bouncing animation to the end
--for all animations speeds
This commit is contained in:
parent
76cd844dce
commit
54c2d2b17e
@ -67,7 +67,7 @@ SequentialAnimation{
|
||||
target: wrapper
|
||||
property: (icList.orientation == Qt.Vertical) ? "tempScaleWidth" : "tempScaleHeight"
|
||||
to: 1
|
||||
duration: 3*root.durationTime*launcherAnimation.speed
|
||||
duration: 4*launcherAnimation.speed
|
||||
easing.type: Easing.OutBounce
|
||||
}
|
||||
|
||||
|
@ -76,9 +76,13 @@ SequentialAnimation {
|
||||
target: wrapper
|
||||
property: "opacity"
|
||||
to: 1
|
||||
duration: mainItemContainer.inBouncingAnimation ? //exactly how much the bounche animation lasts
|
||||
5*(root.durationTime * 0.8 * units.longDuration) : 0
|
||||
|
||||
//this duration must be a bit less than the bouncing animation. Otherwise the
|
||||
//smooth trasition between removals is breaking
|
||||
duration: mainItemContainer.inBouncingAnimation ? 5*launcherSpeedStep : 0
|
||||
easing.type: Easing.InQuad
|
||||
|
||||
property int launcherSpeedStep: root.durationTime * 0.8 * units.longDuration
|
||||
}
|
||||
//end of ghost animation
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user