summaryrefslogtreecommitdiffstats
path: root/examples/declarative/parallax/qml/Smiley.qml
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-05-06 02:42:36 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-05-06 02:42:36 (GMT)
commit3e4116ff5337d41466904b2e381dfa74267264a8 (patch)
treeb9bf47c83bc9fd5bc82caf72a0a43d99a59eb0c7 /examples/declarative/parallax/qml/Smiley.qml
parentc16cc8c4d03cb062c5164295cad75509ec31feaf (diff)
downloadQt-3e4116ff5337d41466904b2e381dfa74267264a8.zip
Qt-3e4116ff5337d41466904b2e381dfa74267264a8.tar.gz
Qt-3e4116ff5337d41466904b2e381dfa74267264a8.tar.bz2
Cleanup
Diffstat (limited to 'examples/declarative/parallax/qml/Smiley.qml')
-rw-r--r--examples/declarative/parallax/qml/Smiley.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/declarative/parallax/qml/Smiley.qml b/examples/declarative/parallax/qml/Smiley.qml
index cfa4fed..662addc 100644
--- a/examples/declarative/parallax/qml/Smiley.qml
+++ b/examples/declarative/parallax/qml/Smiley.qml
@@ -8,7 +8,6 @@ Item {
Image {
anchors.horizontalCenter: parent.horizontalCenter
source: "../pics/shadow.png"; y: smiley.minHeight + 58
- transformOrigin: Item.Center
// The scale property depends on the y position of the smiley face.
scale: smiley.y * 0.5 / (smiley.minHeight - smiley.maxHeight)
@@ -32,7 +31,7 @@ Item {
from: smiley.minHeight; to: smiley.maxHeight
easing.type: Easing.OutExpo; duration: 300
}
-
+
// Then move back to minHeight in 1 second, using the OutBounce easing function
NumberAnimation {
from: smiley.maxHeight; to: smiley.minHeight