on xenial help sign in
don't move other tiles any more when an app is selected
a84c35bMichael Zanetti
qml/Stages/PhoneStage.qml+2−2
@@ -311,8 +311,8 @@ Item {
311 target: spreadView
311 target: spreadView
312 property: "contentX"
312 property: "contentX"
313 to: snapAnimation.targetContentX
313 to: snapAnimation.targetContentX
314− duration: UbuntuAnimation.FastDuration
314+// duration: UbuntuAnimation.FastDuration
315−// duration: UbuntuAnimation.SleepyDuration
315+ duration: UbuntuAnimation.SleepyDuration
316 }
316 }
317 ScriptAction {
317 ScriptAction {
318 script: {
318 script: {
qml/Stages/TransformedSpreadDelegate.qml+12
@@ -106,6 +106,10 @@ SpreadDelegate {
106 }
106 }
107
107
108 property real xTranslate: {
108 property real xTranslate: {
109+ if (priv.otherSelected) {
110+ return priv.selectedXTranslate;
111+ }
112+
109 var translation = 0;
113 var translation = 0;
110 switch (index) {
114 switch (index) {
111 case 0:
115 case 0:
@@ -150,6 +154,10 @@ SpreadDelegate {
150 return translation;
154 return translation;
151 }
155 }
152 property real angle: {
156 property real angle: {
157+ if (priv.otherSelected) {
158+ return priv.selectedAngle
159+ }
160+
153 var newAngle = 0;
161 var newAngle = 0;
154 switch (index) {
162 switch (index) {
155 case 0:
163 case 0:
@@ -179,6 +187,10 @@ SpreadDelegate {
179 return newAngle;
187 return newAngle;
180 }
188 }
181 property real scale: {
189 property real scale: {
190+ if (priv.otherSelected) {
191+ return priv.selectedScale;
192+ }
193+
182 var newScale = 1;
194 var newScale = 1;
183 switch (index) {
195 switch (index) {
184 case 0:
196 case 0: