@@ -48,7 +48,6 @@ Rectangle {
4848 objectName: "buttonShowDashHome"
4949 width: parent.width
5050 height: units.gu(7)
51− z: 1
5251
5352 UbuntuShape {
5453 anchors {
@@ -139,6 +138,20 @@ Rectangle {
139138 property bool draggingTransitionRunning: false
140139 property int scheduledMoveTo: -1
141140
141+ UbuntuNumberAnimation {
142+ id: snapToBottomAnimation
143+ target: launcherListView
144+ property: "contentY"
145+ to: launcherListView.originY
146+ }
147+
148+ UbuntuNumberAnimation {
149+ id: snapToTopAnimation
150+ target: launcherListView
151+ property: "contentY"
152+ to: launcherListView.contentHeight - launcherListView.height + launcherListView.originY
153+ }
154+
142155 displaced: Transition {
143156 NumberAnimation { properties: "x,y"; duration: UbuntuAnimation.FastDuration; easing: UbuntuAnimation.StandardEasing }
144157 }
@@ -344,10 +357,9 @@ Rectangle {
344357 progressiveScrollingTimer.stop();
345358 launcherListView.interactive = true;
346359 if (droppedIndex >= launcherListView.count - 2 && postDragging) {
347− launcherListView.flick(0, -launcherListView.clickFlickSpeed);
348− }
349− if (droppedIndex == 0 && postDragging) {
350− launcherListView.flick(0, launcherListView.clickFlickSpeed);
360+ snapToBottomAnimation.start();
361+ } else if (droppedIndex < 2 && postDragging) {
362+ snapToTopAnimation.start();
351363 }
352364 }
353365