on xenial help sign in
make dropping at the end of the listView more smooth
f5beb8bMichael Zanetti
Launcher/LauncherPanel.qml+5
@@ -274,6 +274,7 @@ Item {
274 }
274 }
275
275
276 onReleased: {
276 onReleased: {
277+ var droppedIndex = draggedIndex;
277 if (dragging) {
278 if (dragging) {
278 postDragging = true;
279 postDragging = true;
279 } else {
280 } else {
@@ -289,6 +290,10 @@ Item {
289
290
290 progressiveScrollingTimer.stop();
291 progressiveScrollingTimer.stop();
291 launcherListView.interactive = true;
292 launcherListView.interactive = true;
293+ if (droppedIndex == launcherListView.count - 1) {
294+ launcherListView.flick(0, -launcherListView.clickFlickSpeed);
295+ }
296+
292
297
293 }
298 }
294
299