on xenial help sign in
fix itemCenterY offset, invert for phone again
commit409bafb4612a4fc9ef1d4a2d738e63797c61a104 authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 16 Aug 2013, 00:37 (13 years ago) parent2837e9c
1 file changed+2−2
Launcher/LauncherPanel.qml+2−2
Launcher/LauncherPanel.qml+2−2
@@ -27,7 +27,7 @@ Item {
2727 rotation: inverted ? 180 : 0
2828
2929 property var model
30− property bool inverted: false
30+ property bool inverted: true
3131 property bool dragging: false
3232 property bool moving: launcherListView.moving || launcherListView.flicking || dndArea.draggedItem !== undefined
3333 property int highlightIndex: -1
@@ -312,7 +312,7 @@ Item {
312312 var itemCenterY = fakeDragItem.y + fakeDragItem.height / 2
313313
314314 // Move it down by the the missing size to compensate index calculation with only expanded items
315− itemCenterY += selectedItem.height / 2
315+ itemCenterY += (launcherListView.itemHeight - selectedItem.height) / 2
316316
317317 if (mouseY > launcherListView.height - launcherListView.topMargin - launcherListView.bottomMargin - realItemHeight) {
318318 progressiveScrollingTimer.downwards = false