diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-07-20 23:06:24 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-07-20 23:06:24 (GMT) |
commit | cf851eced1d03c9d839626f86d00fd0734949c9d (patch) | |
tree | f118789635785dc117d80dc2b9b60c4a4aa7564b /demos/declarative/samegame | |
parent | ab7d1fe008d1e2181fd8bd07fad5f12bfaa1ba16 (diff) | |
download | Qt-cf851eced1d03c9d839626f86d00fd0734949c9d.zip Qt-cf851eced1d03c9d839626f86d00fd0734949c9d.tar.gz Qt-cf851eced1d03c9d839626f86d00fd0734949c9d.tar.bz2 |
Update AnimatedImage item to be more similar to Animations
Now has playing and paused properties that should behave the same.
Diffstat (limited to 'demos/declarative/samegame')
-rw-r--r-- | demos/declarative/samegame/content/SpinBlock.qml | 2 | ||||
-rw-r--r-- | demos/declarative/samegame/content/samegame.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/samegame/content/SpinBlock.qml b/demos/declarative/samegame/content/SpinBlock.qml index 42276d0..2597bfb 100644 --- a/demos/declarative/samegame/content/SpinBlock.qml +++ b/demos/declarative/samegame/content/SpinBlock.qml @@ -15,7 +15,7 @@ Item { id:block } else { "pics/gnome/greenStone.gif"; } - playing: selected + paused: !selected } opacity: 0 y: targetY diff --git a/demos/declarative/samegame/content/samegame.js b/demos/declarative/samegame/content/samegame.js index 1814031..3592edc 100644 --- a/demos/declarative/samegame/content/samegame.js +++ b/demos/declarative/samegame/content/samegame.js @@ -49,7 +49,7 @@ function initBoard() var fillFound; var floodBoard; -var lastHoveredIdx = -1 +var lastHoveredIdx = -2 function handleHover(x,y, btn) { xIdx = Math.floor(x/tileSize); |