@@ -324,7 +324,7 @@ AbstractStage {
324324 },
325325 Transition {
326326 to: "spread"
327− PropertyAction { target: spreadItem; property: "highlightedIndex"; value: 1 }
327+ PropertyAction { target: spreadItem; property: "highlightedIndex"; value: appRepeater.count > 1 ? 1 : 0 }
328328 PropertyAction { target: floatingFlickable; property: "contentX"; value: 0 }
329329 },
330330 Transition {
@@ -819,7 +819,7 @@ AbstractStage {
819819 targetScale: spreadMaths.targetScale
820820 }
821821
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)
823823// onRequestedWidthChanged: if (index == 0) print("requestedWidth", requestedWidth)
824824 onStateChanged: if (model.application.appId == "unity8-dash") print("state changed", state)
825825 states: [
@@ -1278,14 +1278,6 @@ AbstractStage {
12781278 anchors.fill: appContainer
12791279 enabled: false
12801280 contentWidth: spreadItem.spreadTotalWidth
1281− rightMargin: leftMargin
1282− leftMargin: {
1283− var stepOnXAxis = 1 / spreadItem.visibleItemCount
1284− var distanceToIndex1 = spreadItem.curve.getYFromX(stepOnXAxis)
1285− var middlePartDistance = spreadItem.curve.getYFromX(0.5 + stepOnXAxis/2) - spreadItem.curve.getYFromX(0.5 - stepOnXAxis/2)
1286− return 1.2 * (middlePartDistance - distanceToIndex1) * spreadItem.spreadWidth
1287− }
1288−
12891281 }
12901282
12911283 PropertyAnimation {