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 {
properties: "opacity"
duration: disappearAnimation.duration
from: 1.0
to: 0
target: disappearAnimation.targetItem
easing.type: Easing.OutExpo;
}
PropertyAnimation {
properties: "scale"
target: disappearAnimation.targetItem
from: 1.0
to: 0.8
duration: disappearAnimation.duration * 0.6
easing.type: Easing.OutExpo;
}