@@ -50,14 +50,20 @@ Showable {
50 signal tease()
50 signal tease()
52 function hideRight() {
52 function hideRight() {
53− hideAnimation = __rightHideAnimation
54+ hideAnimation = __rightHideAnimation
57− Connections {
59+ onRequiredChanged: {
58− target: __rightHideAnimation
59 // Reset hide animation to default once we're finished with it
60 // Reset hide animation to default once we're finished with it
62+ // Put back on left for reliable show direction and so that
63+ // if normal hide() is called, we don't animate from right.
60− onRunningChanged: if (!__rightHideAnimation.running) greeter.hideAnimation = __leftHideAnimation
65+ hideAnimation = __leftHideAnimation
63 // Bi-directional revealer
69 // Bi-directional revealer