diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-12-16 14:41:27 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-12-16 14:41:27 (GMT) |
commit | 7f9bfd5dae0aa55a9425908995ba9249b7921ad4 (patch) | |
tree | 0fe261e2b03ab9b5e73df921db9aa751ba6bb723 /demos | |
parent | 03ce9eed5af9198170f175e976fb56682049b93c (diff) | |
download | Qt-7f9bfd5dae0aa55a9425908995ba9249b7921ad4.zip Qt-7f9bfd5dae0aa55a9425908995ba9249b7921ad4.tar.gz Qt-7f9bfd5dae0aa55a9425908995ba9249b7921ad4.tar.bz2 |
Set score text color (so that it will be visible)
Diffstat (limited to 'demos')
-rwxr-xr-x | demos/declarative/samegame/content/samegame.js | 2 | ||||
-rw-r--r-- | demos/declarative/samegame/samegame.qml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/demos/declarative/samegame/content/samegame.js b/demos/declarative/samegame/content/samegame.js index 8651c84..0a42e88 100755 --- a/demos/declarative/samegame/content/samegame.js +++ b/demos/declarative/samegame/content/samegame.js @@ -56,7 +56,7 @@ function initBoard() } timer = new Date(); - print(timer.valueOf() - a.valueOf()); + //print(timer.valueOf() - a.valueOf()); } var fillFound;//Set after a floodFill call to the number of tiles found diff --git a/demos/declarative/samegame/samegame.qml b/demos/declarative/samegame/samegame.qml index 19b929f..72ea564 100644 --- a/demos/declarative/samegame/samegame.qml +++ b/demos/declarative/samegame/samegame.qml @@ -72,6 +72,7 @@ Rectangle { text: "Score: " + gameCanvas.score; font.bold: true anchors.right: parent.right; anchors.rightMargin: 3 anchors.verticalCenter: parent.verticalCenter + color: activePalette.text } } } |