@@ -36,7 +36,7 @@ Item {
3636 property bool fullscreen: true
3737 property bool overlayMode: false
3838
39− readonly property int overlayWidth: priv.overlayOverride ? 0 : priv.sideStageWidth
39+ readonly property int overlayWidth: priv.overlayOverride ? 0 : spreadView.sideStageWidth
4040
4141 QtObject {
4242 id: priv
@@ -76,24 +76,19 @@ Item {
7676 function evaluateOneWayFlick(gesturePoints) {
7777 // Need to have at least 3 points to recognize it as a flick
7878 if (gesturePoints.length < 3) {
79− print("not enough points...")
8079 return false;
8180 }
8281 // Need to have a movement of at least 2 grid units to recognize it as a flick
8382 if (Math.abs(gesturePoints[gesturePoints.length - 1] - gesturePoints[0]) < units.gu(2)) {
84− print("not moved far enough")
8583 return false;
8684 }
8785
8886 var oneWayFlick = true;
8987 var smallestX = gesturePoints[0];
9088 var leftWards = gesturePoints[1] < gesturePoints[0];
91− print("is leftwards", leftWards)
9289 for (var i = 1; i < gesturePoints.length; i++) {
93− print("point is", gesturePoints[i])
9490 if ((leftWards && gesturePoints[i] >= smallestX)
9591 || (!leftWards && gesturePoints[i] <= smallestX)) {
96− print("found jitter", leftWards, gesturePoints[i], smallestX)
9792 oneWayFlick = false;
9893 break;
9994 }
@@ -320,6 +315,8 @@ Item {
320315 width: model.stage == ApplicationInfoInterface.MainStage ? spreadView.width : spreadView.sideStageWidth
321316// opacity: .3
322317
318+ onWidthChanged: print("width changed!", width)
319+
323320 active: model.appId == priv.mainStageAppId || model.appId == priv.sideStageAppId
324321 zIndex: parent.z
325322 selected: spreadView.selectedIndex == index