fixed non-adjacent item buffer
commit2ff8db6452a05d2b3a0a37aa29db89f3f59b320c
authorNick Dedekind <nick.dedekind@canonical.com>
dateThu 9 Oct 2014, 12:59 (12 years ago)
parentd01b403
qml/Panel/IndicatorItemRow.qml+1−1
@@ -54,7 +54,7 @@ Item {
5454
5555 if (proposedItem !== currentItem) {
5656 // Proposed item is not directly adjacent to current?
57− if (Math.abs(currentItem.ownIndex - currentItem.ownIndex) > 1) {
57+ if (Math.abs(proposedItem.ownIndex - currentItem.ownIndex) > 1) {
5858 bufferExceeded = true;
5959 } else { // no
6060 var currentItemLateralPosition = root.mapToItem(proposedItem, lateralPosition, 0).x;