small launcher tweaks
* fix fakeDragItem's initial position to match with real item
* remove UbuntuShape's border glow
commit39b3b35116d800b03f80465e286a1093a2815ea8
authorMichael Zanetti <michael.zanetti@canonical.com>
dateWed 16 Oct 2013, 13:33 (13 years ago)
parenta2059d1
Launcher/LauncherDelegate.qml+1
@@ -57,6 +57,7 @@ Item {
5757 anchors.fill: parent
5858 anchors.margins: units.gu(1)
5959 radius: "medium"
60+ borderSource: "none"
6061
6162 image: Image {
6263 id: iconImage
Launcher/LauncherPanel.qml+1−1
@@ -368,7 +368,7 @@ Item {
368368 var yOffset = draggedIndex > 0 ? (mouseY + launcherListView.realContentY) % (draggedIndex * launcherListView.realItemHeight) : mouseY + launcherListView.realContentY
369369
370370 fakeDragItem.iconName = launcherListView.model.get(draggedIndex).icon
371− fakeDragItem.x = 0
371+ fakeDragItem.x = units.gu(0.5)
372372 fakeDragItem.y = mouseY - yOffset + launcherListView.anchors.topMargin + launcherListView.topMargin
373373 fakeDragItem.angle = selectedItem.angle * (root.inverted ? -1 : 1)
374374 fakeDragItem.offset = selectedItem.offset * (root.inverted ? -1 : 1)