summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame/content/samegame.js
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-07-20 23:06:24 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-07-20 23:06:24 (GMT)
commitcf851eced1d03c9d839626f86d00fd0734949c9d (patch)
treef118789635785dc117d80dc2b9b60c4a4aa7564b /demos/declarative/samegame/content/samegame.js
parentab7d1fe008d1e2181fd8bd07fad5f12bfaa1ba16 (diff)
downloadQt-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/content/samegame.js')
-rw-r--r--demos/declarative/samegame/content/samegame.js2
1 files changed, 1 insertions, 1 deletions
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);