@@ -32,7 +32,7 @@ Item {
32 anchors.fill: parent
32 anchors.fill: parent
34 // NB: for testing set to 2, not to clash with unity7 touch overlay controls
34 // NB: for testing set to 2, not to clash with unity7 touch overlay controls
35− minimumTouchPoints: 2
35+ minimumTouchPoints: 3
36 maximumTouchPoints: minimumTouchPoints
36 maximumTouchPoints: minimumTouchPoints
37 recognitionPeriod: 500
37 recognitionPeriod: 500
38 //releaseRejectPeriod: 500
38 //releaseRejectPeriod: 500
@@ -81,9 +81,9 @@ Item {
81 function handlePressedChanged(pressed, mouseX, mouseY) {
81 function handlePressedChanged(pressed, mouseX, mouseY) {
82 if (pressed) {
82 if (pressed) {
83 var pos = mapToItem(root.target, mouseX, mouseY);
83 var pos = mapToItem(root.target, mouseX, mouseY);
84− print("SAVING POS", pos.x, pos.y)
85 priv.distanceX = pos.x;
84 priv.distanceX = pos.x;
86 priv.distanceY = pos.y;
85 priv.distanceY = pos.y;
86+ print("SAVING POS", priv.distanceX, priv.distanceY)
87 priv.dragging = true;
87 priv.dragging = true;
89 priv.dragging = false;
89 priv.dragging = false;