on xenial help sign in
add a else to avoid a theoretically nasty situation
8b12123Michael Zanetti
qml/Launcher/LauncherPanel.qml+1−2
@@ -350,8 +350,7 @@ Rectangle {
350 launcherListView.interactive = true;
350 launcherListView.interactive = true;
351 if (droppedIndex >= launcherListView.count - 2 && postDragging) {
351 if (droppedIndex >= launcherListView.count - 2 && postDragging) {
352 snapToBottomAnimation.start();
352 snapToBottomAnimation.start();
353− }
354− if (droppedIndex < 2 && postDragging) {
353+ } else if (droppedIndex < 2 && postDragging) {
355 snapToTopAnimation.start();
354 snapToTopAnimation.start();
356 }
355 }
357 }
356 }