From 2e4684e1004c3e5be16fb4ef21d8b2400063b241 Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Mon, 20 Jul 2009 15:01:32 +1000 Subject: Bug fixes for SameGame demo pngs are now 40x40, swapping between themes works again. --- demos/declarative/samegame/content/pics/blueStone.png | Bin 4823 -> 2691 bytes .../declarative/samegame/content/pics/greenStone.png | Bin 4724 -> 2662 bytes demos/declarative/samegame/content/pics/redStone.png | Bin 4585 -> 2604 bytes .../declarative/samegame/content/pics/yellowStone.png | Bin 4818 -> 2667 bytes demos/declarative/samegame/content/samegame.js | 3 --- 5 files changed, 3 deletions(-) diff --git a/demos/declarative/samegame/content/pics/blueStone.png b/demos/declarative/samegame/content/pics/blueStone.png index 673f1ce..bf342e0 100644 Binary files a/demos/declarative/samegame/content/pics/blueStone.png and b/demos/declarative/samegame/content/pics/blueStone.png differ diff --git a/demos/declarative/samegame/content/pics/greenStone.png b/demos/declarative/samegame/content/pics/greenStone.png index 0c087d0..5ac14a5 100644 Binary files a/demos/declarative/samegame/content/pics/greenStone.png and b/demos/declarative/samegame/content/pics/greenStone.png differ diff --git a/demos/declarative/samegame/content/pics/redStone.png b/demos/declarative/samegame/content/pics/redStone.png index 80c2e2e..b099f60 100644 Binary files a/demos/declarative/samegame/content/pics/redStone.png and b/demos/declarative/samegame/content/pics/redStone.png differ diff --git a/demos/declarative/samegame/content/pics/yellowStone.png b/demos/declarative/samegame/content/pics/yellowStone.png index 5349eff..c56124a 100644 Binary files a/demos/declarative/samegame/content/pics/yellowStone.png and b/demos/declarative/samegame/content/pics/yellowStone.png differ 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){ -- cgit v0.12