on xenial help sign in
If you show the greeter, have it remember which side it hid into
commit154fc8fe8eba12401bc3b7e486f2f31979d0b712 authorMichael Terry <michael.terry@canonical.com> dateTue 29 Jul 2014, 10:04 (12 years ago) parenta042b06
1 file changed+2−4
qml/Greeter/Greeter.qml+2−4
qml/Greeter/Greeter.qml+2−4
@@ -58,10 +58,8 @@ Showable {
5858
5959 onRequiredChanged: {
6060 // Reset hide animation to default once we're finished with it
61− if (!required) {
62− // Put back on left for reliable show direction and so that
63− // if normal hide() is called, we don't animate from right.
64− x = -width
61+ if (required) {
62+ // Reset hide animation so that a hide() call is reliably left
6563 hideAnimation = __leftHideAnimation
6664 }
6765 }