@@ -5,12 +5,7 @@ QtObject {
7 function desktopX(index, totalWidth, flickableX) {
7 function desktopX(index, totalWidth, flickableX) {
8− // Uncomment this to keep linear x movement
9− // return (totalWidth / 5) * index - flickableX;
10 var distance = totalWidth / 5;
8 var distance = totalWidth / 5;
12− var startX = index * distance;
14 var startProgress = 0;
9 var startProgress = 0;
15 var endProgress = 1;
10 var endProgress = 1;
16 var startValue = index * distance;
11 var startValue = index * distance;
@@ -31,7 +26,7 @@ QtObject {
33 function desktopScale(sceneHeight, itemHeight) {
28 function desktopScale(sceneHeight, itemHeight) {
34− var maxHeight = sceneHeight / 2;
29+ var maxHeight = sceneHeight * 0.35;
35 if (itemHeight > maxHeight) {
30 if (itemHeight > maxHeight) {
36 return maxHeight / itemHeight
31 return maxHeight / itemHeight