on xenial help sign in
fix the unmaximize animation
9891641Michael Zanetti
qml/Stage/Stage.qml+6
@@ -1014,6 +1014,12 @@ AbstractStage {
1014 PropertyAction { target: appDelegate; properties: "visuallyMinimized,visuallyMaximized" }
1014 PropertyAction { target: appDelegate; properties: "visuallyMinimized,visuallyMaximized" }
1015 UbuntuNumberAnimation { target: appDelegate; properties: "x,y,opacity,requestedWidth,requestedHeight,scale"; duration: priv.animationDuration }
1015 UbuntuNumberAnimation { target: appDelegate; properties: "x,y,opacity,requestedWidth,requestedHeight,scale"; duration: priv.animationDuration }
1016 },
1016 },
1017+ Transition {
1018+ from: "maximized"; to: "normal"
1019+ enabled: appDelegate.animationsEnabled
1020+ PropertyAction { target: appDelegate; properties: "visuallyMinimized,visuallyMaximized" }
1021+ UbuntuNumberAnimation { target: appDelegate; properties: "x,y,requestedWidth,requestedHeight"; duration: priv.animationDuration }
1022+ },
1017 Transition {
1023 Transition {
1018 from: "spread"; to: "*"
1024 from: "spread"; to: "*"
1019// UbuntuNumberAnimation { target: appDelegate; properties: "x,y,height"; duration: priv.animationDuration }
1025// UbuntuNumberAnimation { target: appDelegate; properties: "x,y,height"; duration: priv.animationDuration }