Fix DisappearAnimation, needs from & to values

REVIEW:106818
This commit is contained in:
Sebastian Kügler 2012-10-17 17:46:49 +02:00
parent d3f8c0683b
commit af618983e2

View File

@ -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;
} }