Fix DisappearAnimation, needs from & to values
REVIEW:106818
This commit is contained in:
parent
d3f8c0683b
commit
af618983e2
@ -34,12 +34,16 @@ SequentialAnimation {
|
|||||||
PropertyAnimation {
|
PropertyAnimation {
|
||||||
properties: "opacity"
|
properties: "opacity"
|
||||||
duration: disappearAnimation.duration
|
duration: disappearAnimation.duration
|
||||||
|
from: 1.0
|
||||||
|
to: 0
|
||||||
target: disappearAnimation.targetItem
|
target: disappearAnimation.targetItem
|
||||||
easing.type: Easing.OutExpo;
|
easing.type: Easing.OutExpo;
|
||||||
}
|
}
|
||||||
PropertyAnimation {
|
PropertyAnimation {
|
||||||
properties: "scale"
|
properties: "scale"
|
||||||
target: disappearAnimation.targetItem
|
target: disappearAnimation.targetItem
|
||||||
|
from: 1.0
|
||||||
|
to: 0.8
|
||||||
duration: disappearAnimation.duration * 0.6
|
duration: disappearAnimation.duration * 0.6
|
||||||
easing.type: Easing.OutExpo;
|
easing.type: Easing.OutExpo;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user