@@ -330,14 +330,6 @@ AbstractStage {
330 name: "maximizedRight"; when: appDelegate.maximizedRight && !appDelegate.minimized
330 name: "maximizedRight"; when: appDelegate.maximizedRight && !appDelegate.minimized
331 PropertyChanges { target: appDelegate; x: root.width/2; y: units.gu(3); width: root.width/2; height: root.height - units.gu(3) }
331 PropertyChanges { target: appDelegate; x: root.width/2; y: units.gu(3); width: root.width/2; height: root.height - units.gu(3) }
334− name: "maximizedLeft"; when: appDelegate.maximizedLeft && !appDelegate.minimized
335− PropertyChanges { target: appDelegate; x: 0; y: units.gu(3); width: root.width/2; height: root.height - units.gu(3) }
338− name: "maximizedRight"; when: appDelegate.maximizedRight && !appDelegate.minimized
339− PropertyChanges { target: appDelegate; x: root.width/2; y: units.gu(3); width: root.width/2; height: root.height - units.gu(3) }
342 name: "minimized"; when: appDelegate.minimized
334 name: "minimized"; when: appDelegate.minimized
343 PropertyChanges {
335 PropertyChanges {
@@ -353,6 +345,7 @@ AbstractStage {
353 transitions: [
345 transitions: [
354 Transition {
346 Transition {
355 to: "normal"
347 to: "normal"
348+ enabled: appDelegate.animationsEnabled
356 PropertyAction { target: appDelegate; properties: "visuallyMinimized,visuallyMaximized" }
349 PropertyAction { target: appDelegate; properties: "visuallyMinimized,visuallyMaximized" }
357 PropertyAnimation { target: appDelegate; properties: "x,y,opacity,width,height,scale" }
350 PropertyAnimation { target: appDelegate; properties: "x,y,opacity,width,height,scale" }