@@ -47,13 +47,14 @@ Showable {
4747 }
4848
4949 prepareToHide: function () {
50+ hideTranslation.from = root.x + translation.x
5051 hideTranslation.to = root.x > 0 || d.forceRightOnNextHideAnimation ? root.width : -root.width;
5152 d.forceRightOnNextHideAnimation = false;
5253 }
5354
5455 // We don't directly bind "x" because that's owned by the DragHandle. So
5556 // instead, we can get a little extra horizontal push by using transforms.
56− transform: Translate { x: root.draggable ? launcherOffset : 0 }
57+ transform: Translate { id: translation; x: root.draggable ? launcherOffset : 0 }
5758
5859 Rectangle {
5960 // In case background fails to load