diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-07-20 05:01:32 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-07-20 05:01:32 (GMT) |
commit | 2e4684e1004c3e5be16fb4ef21d8b2400063b241 (patch) | |
tree | a661267ce4fb7dad7f54cf39e8f04b55feff1ca9 /demos/declarative/samegame/content/samegame.js | |
parent | c8b42c5851377c075c2c4147a625f23f2f6f6173 (diff) | |
download | Qt-2e4684e1004c3e5be16fb4ef21d8b2400063b241.zip Qt-2e4684e1004c3e5be16fb4ef21d8b2400063b241.tar.gz Qt-2e4684e1004c3e5be16fb4ef21d8b2400063b241.tar.bz2 |
Bug fixes for SameGame demo
pngs are now 40x40, swapping between themes works again.
Diffstat (limited to 'demos/declarative/samegame/content/samegame.js')
-rw-r--r-- | demos/declarative/samegame/content/samegame.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/demos/declarative/samegame/content/samegame.js b/demos/declarative/samegame/content/samegame.js index 925a5b8..1f76b9f 100644 --- a/demos/declarative/samegame/content/samegame.js +++ b/demos/declarative/samegame/content/samegame.js @@ -12,14 +12,11 @@ var compSrc; var component; function swapTileSrc(){ - if(swapped) - return; if(tileSrc == "content/SpinBlock.qml"){ tileSrc = "content/BoomBlock.qml"; }else{ tileSrc = "content/SpinBlock.qml"; } - swapped = true; } function index(xIdx,yIdx){ |