on xenial help sign in
add a else to avoid a theoretically nasty situation
commit8b1212309752d890f2c9c42a5027ea12e1cf7b70 authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 18 Nov 2014, 12:12 (12 years ago) parent7666f34
1 file changed+1−2
qml/Launcher/LauncherPanel.qml+1−2
qml/Launcher/LauncherPanel.qml+1−2
@@ -350,8 +350,7 @@ Rectangle {
350350 launcherListView.interactive = true;
351351 if (droppedIndex >= launcherListView.count - 2 && postDragging) {
352352 snapToBottomAnimation.start();
353− }
354− if (droppedIndex < 2 && postDragging) {
353+ } else if (droppedIndex < 2 && postDragging) {
355354 snapToTopAnimation.start();
356355 }
357356 }