on xenial help sign in
some more dirty hacks to get some more perspective into it
f30b359Michael Zanetti
Launcher/LauncherDelegate.qml+4−4
@@ -109,17 +109,17 @@ Item {
109 Rotation {
109 Rotation {
110 axis { x: 1; y: 0; z: 0 }
110 axis { x: 1; y: 0; z: 0 }
111 origin { x: iconItem.width / 2; y: angle > 0 ? 0 : iconItem.height; z: 0 }
111 origin { x: iconItem.width / 2; y: angle > 0 ? 0 : iconItem.height; z: 0 }
112− angle: root.angle * 0.8
112+ angle: root.angle * 0.7
113 },
113 },
114 Rotation {
114 Rotation {
115 axis { x: 1; y: 0; z: 0 }
115 axis { x: 1; y: 0; z: 0 }
116 origin { x: iconItem.width / 2; y: angle > 0 ? 0 : iconItem.height; z: 0 }
116 origin { x: iconItem.width / 2; y: angle > 0 ? 0 : iconItem.height; z: 0 }
117− angle: root.angle * 0.8
117+ angle: root.angle * 0.7
118 },
118 },
119 Rotation {
119 Rotation {
120 axis { x: 1; y: 0; z: 0 }
120 axis { x: 1; y: 0; z: 0 }
121 origin { x: iconItem.width / 2; y: angle > 0 ? 0 : iconItem.height; z: 0 }
121 origin { x: iconItem.width / 2; y: angle > 0 ? 0 : iconItem.height; z: 0 }
122− angle: root.angle * 0.8
122+ angle: root.angle * 0.7
123 },
123 },
124 Scale {
124 Scale {
125 xScale: 1 - (Math.abs(angle) / 500)
125 xScale: 1 - (Math.abs(angle) / 500)
@@ -127,7 +127,7 @@ Item {
127 origin { x: iconItem.width / 2; y: iconItem.height / 2}
127 origin { x: iconItem.width / 2; y: iconItem.height / 2}
128 },
128 },
129 Translate {
129 Translate {
130− y: -(root.height - root.effectiveHeight) * priv.orientationFlag
130+ y: -(root.height - root.effectiveHeight) * 0.5 * priv.orientationFlag
131 }
131 }
132
132
133 ]
133 ]