on xenial help sign in
clip the dndItem too as long as its not moving
commit1459f99aa6f87666a26074597eed5dafb070406c authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 9 Jul 2014, 20:30 (12 years ago) parentf8e5f94
1 file changed+4−1
qml/Launcher/LauncherPanel.qml+4−1
qml/Launcher/LauncherPanel.qml+4−1
@@ -465,6 +465,10 @@ Item {
465465 width: itemWidth
466466 rotation: root.rotation
467467 itemOpacity: 0.9
468+ clipCorner: dndArea.draggedIndex > -1 &&
469+ LauncherModel.get(dndArea.draggedIndex).pinned &&
470+ !dndArea.preDragging &&
471+ !dndArea.dragging
468472
469473 function flatten() {
470474 fakeDragItemAnimation.start();
@@ -527,7 +531,6 @@ Item {
527531 left: root.inverted ? undefined : parent.right
528532 right: root.inverted ? parent.left : undefined
529533 margins: units.gu(1)
530−
531534 }
532535 y: itemCenter - (height / 2) + offset
533536 rotation: root.rotation