--- a/demos/declarative/snake/content/Link.qml Fri Sep 17 08:34:18 2010 +0300
+++ b/demos/declarative/snake/content/Link.qml Mon Oct 04 01:19:32 2010 +0300
@@ -73,14 +73,12 @@
}
}
- /*
transform: Rotation {
id: actualImageRotation
origin.x: width/2; origin.y: height/2;
angle: rotation * 90
Behavior on angle { NumberAnimation { duration: spawned ? 200 : 0} }
}
- */
}
Image {
@@ -88,7 +86,6 @@
}
opacity: 0
- Behavior on opacity { NumberAnimation { duration: 200 } }
}
@@ -116,4 +113,11 @@
PropertyChanges { target: img; opacity: 0 }
}
]
+
+ transitions: [
+ Transition {
+ NumberAnimation { target: img; property: "opacity"; duration: 200 }
+ }
+ ]
+
}