on xenial help sign in
small launcher tweaks

* fix fakeDragItem's initial position to match with real item * remove UbuntuShape's border glow . Approved by PS Jenkins bot, Michał Sawicz, Omer Akram.

commit799a299afa205c0120727b4b0737f68364784dbf authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 19 Nov 2013, 22:24 (13 years ago) parent024b6c739b3b35
2 files changed+2−1
Launcher/LauncherDelegate.qml+1 Launcher/LauncherPanel.qml+1−1
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
@@ -367,7 +367,7 @@ Item {
367367 var yOffset = draggedIndex > 0 ? (mouseY + launcherListView.realContentY) % (draggedIndex * launcherListView.realItemHeight) : mouseY + launcherListView.realContentY
368368
369369 fakeDragItem.iconName = launcherListView.model.get(draggedIndex).icon
370− fakeDragItem.x = 0
370+ fakeDragItem.x = units.gu(0.5)
371371 fakeDragItem.y = mouseY - yOffset + launcherListView.anchors.topMargin + launcherListView.topMargin
372372 fakeDragItem.angle = selectedItem.angle * (root.inverted ? -1 : 1)
373373 fakeDragItem.offset = selectedItem.offset * (root.inverted ? -1 : 1)