summaryrefslogtreecommitdiffstats
path: root/examples/declarative/minehunt/minehunt.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/minehunt/minehunt.qml')
-rw-r--r--examples/declarative/minehunt/minehunt.qml4
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"
}