on xenial help sign in
fix the unmaximize animation
commit9891641104dd2cc43a4a9434a13d5d689515851f authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 5 Aug 2016, 13:37 (10 years ago) parent1fdbe3f
1 file changed+6
qml/Stage/Stage.qml+6
qml/Stage/Stage.qml+6
@@ -1014,6 +1014,12 @@ AbstractStage {
10141014 PropertyAction { target: appDelegate; properties: "visuallyMinimized,visuallyMaximized" }
10151015 UbuntuNumberAnimation { target: appDelegate; properties: "x,y,opacity,requestedWidth,requestedHeight,scale"; duration: priv.animationDuration }
10161016 },
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+ },
10171023 Transition {
10181024 from: "spread"; to: "*"
10191025// UbuntuNumberAnimation { target: appDelegate; properties: "x,y,height"; duration: priv.animationDuration }