diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-06-26 01:16:57 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-06-26 02:04:36 (GMT) |
commit | ffc9e62cbf7e24cd04a1202de1b3e618f9e12642 (patch) | |
tree | faf828900c05b748e39158eb6a1fb59c44ba3763 /examples/declarative/minehunt/minehunt.qml | |
parent | 662488175fb9c6a44e9641867177b5396c507891 (diff) | |
download | Qt-ffc9e62cbf7e24cd04a1202de1b3e618f9e12642.zip Qt-ffc9e62cbf7e24cd04a1202de1b3e618f9e12642.tar.gz Qt-ffc9e62cbf7e24cd04a1202de1b3e618f9e12642.tar.bz2 |
Rename NumericAnimation -> NumberAnimation
Diffstat (limited to 'examples/declarative/minehunt/minehunt.qml')
-rw-r--r-- | examples/declarative/minehunt/minehunt.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/minehunt/minehunt.qml b/examples/declarative/minehunt/minehunt.qml index db826a3..17fc177 100644 --- a/examples/declarative/minehunt/minehunt.qml +++ b/examples/declarative/minehunt/minehunt.qml @@ -29,7 +29,7 @@ Item { source: "pics/flag.png" opacity: modelData.hasFlag opacity: Behavior { - NumericAnimation { + NumberAnimation { property: "opacity" duration: 250 } @@ -77,7 +77,7 @@ Item { PauseAnimation { duration: {var ret = Math.abs(flipable.parent.x-field.clickx) + Math.abs(flipable.parent.y-field.clicky); if (ret > 0) {if(modelData.hasMine==true && modelData.flipped==true){ret*3;}else{ret;}} else {0}} } - NumericAnimation { + NumberAnimation { easing: "easeInOutQuad" properties: "rotation" } |