diff options
author | Zeno Albisser <zeno.albisser@nokia.com> | 2011-01-27 15:08:43 +0100 |
---|---|---|
committer | Zeno Albisser <zeno.albisser@nokia.com> | 2011-01-27 15:09:26 +0100 |
commit | 2dd57b4000af109f28fb18d4de4af24bc1593790 (patch) | |
tree | 2f83c5835504f2a2af9296a5f3fc28b3f5e21a14 /TouchTest | |
parent | 648496cf78f4390db39f567573408a8ce630c830 (diff) |
fixed division by 0 bug.
Diffstat (limited to 'TouchTest')
-rw-r--r-- | TouchTest/main.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TouchTest/main.qml b/TouchTest/main.qml index 89d4b3c..a80641f 100644 --- a/TouchTest/main.qml +++ b/TouchTest/main.qml @@ -21,13 +21,13 @@ Rectangle { ] onTouchMove: { - console.log("M ..touches.length:", touches.length, "changedTouches.length:", changedTouches.length) +// console.log("M ..touches.length:", touches.length, "changedTouches.length:", changedTouches.length) rect1.x = tp1.x rect1.y = tp1.y // We need to make sure that there actually is a target for the binding tp2 if (tp2.valid) { - console.log("valid!") +// console.log("valid!") rect2.x = tp2.x rect2.y = tp2.y } |