@@ -277,9 +277,6 @@ Rectangle {
277 function minimize(animated) {
277 function minimize(animated) {
278 animationsEnabled = (animated === undefined) || animated;
278 animationsEnabled = (animated === undefined) || animated;
279 minimized = true;
279 minimized = true;
284 function restore(animated) {
281 function restore(animated) {
285 animationsEnabled = (animated === undefined) || animated;
282 animationsEnabled = (animated === undefined) || animated;
@@ -327,7 +324,16 @@ Rectangle {
327 from: "maximized,maximizedLeft,maximizedRight,minimized,normal,"
324 from: "maximized,maximizedLeft,maximizedRight,minimized,normal,"
328 to: "maximized,maximizedLeft,maximizedRight,minimized,normal,"
325 to: "maximized,maximizedLeft,maximizedRight,minimized,normal,"
329 enabled: appDelegate.animationsEnabled
326 enabled: appDelegate.animationsEnabled
327+ SequentialAnimation {
330− PropertyAnimation { target: appDelegate; properties: "x,y,opacity,width,height,scale" }
328+ PropertyAnimation { target: appDelegate; properties: "x,y,opacity,width,height,scale" }
331+ if (animationsEnabled && state === "minimized" ) {
332 Transition {
338 Transition {