@@ -819,7 +819,7 @@ AbstractStage {
819 targetScale: spreadMaths.targetScale
819 targetScale: spreadMaths.targetScale
822−// onXChanged: if (model.application.appId == "unity8-dash") print("dash moved to", x)
822+ onXChanged: if (model.application.appId == "unity8-dash") print("dash moved to", x)
823// onRequestedWidthChanged: if (index == 0) print("requestedWidth", requestedWidth)
823// onRequestedWidthChanged: if (index == 0) print("requestedWidth", requestedWidth)
824 onStateChanged: if (model.application.appId == "unity8-dash") print("state changed", state)
824 onStateChanged: if (model.application.appId == "unity8-dash") print("state changed", state)
825 states: [
825 states: [
@@ -1304,24 +1304,8 @@ AbstractStage {
1304 property var gesturePoints: new Array()
1304 property var gesturePoints: new Array()
1306 property real progress: -touchPosition.x / root.width
1306 property real progress: -touchPosition.x / root.width
1307−// onProgressChanged: print("dda progress", progress, root.width, touchPosition.x, root.width + touchPosition.x)
1309−// Rectangle { color: "blue"; anchors.fill: parent }
1310 onTouchPositionChanged: {
1308 onTouchPositionChanged: {
1312− // Gesture recognized. Let's move the spreadView with the finger
1313−// var dragX = Math.min(touchX + width, width); // Prevent dragging rightwards
1314−// dragX = -dragX + spreadDragArea.width - spreadView.shift;
1315−// // Don't allow dragging further than the animation crossing with phase2's animation
1316−// var maxMovement = spreadView.width * spreadView.positionMarker4 - spreadView.shift;
1318−// spreadView.contentX = Math.min(dragX, maxMovement);
1320−// // Initial touch. Let's reset the spreadView to the starting position.
1321−// spreadView.phase = 0;
1322−// spreadView.contentX = -spreadView.shift;
1325 gesturePoints.push(touchPosition.x);
1309 gesturePoints.push(touchPosition.x);