on xenial help sign in
update launcher icon glow as requested by design Fixes: 1336725
1d141f9Michael Zanetti
qml/Launcher/LauncherDelegate.qml+4−6
@@ -23,7 +23,6 @@ Item {
23 property string iconName
23 property string iconName
24 property int count: -1
24 property int count: -1
25 property int progress: -1
25 property int progress: -1
26− property bool highlighted: false
27 property bool itemFocused: false
26 property bool itemFocused: false
28 property real maxAngle: 0
27 property real maxAngle: 0
29 property bool inverted: false
28 property bool inverted: false
@@ -63,12 +62,11 @@ Item {
63 }
62 }
64
63
65 BorderImage {
64 BorderImage {
66− id: overlayHighlight
65+ id: itemGlow
67 anchors.centerIn: iconItem
66 anchors.centerIn: iconItem
68− rotation: inverted ? 180 : 0
67+ source: "graphics/icon-top-highlight.png"
69− source: root.highlighted ? "graphics/selected.sci" : "graphics/non-selected.sci"
70− width: root.itemWidth + units.gu(0.5)
68+ width: root.itemWidth - units.gu(1)
71− height: root.itemHeight + units.gu(0.5)
69+ height: root.itemHeight - units.gu(1)
72 }
70 }
73
71
74 BorderImage {
72 BorderImage {
qml/Launcher/LauncherPanel.qml+1
@@ -523,6 +523,7 @@ Item {
523 color: "#221e1c"
523 color: "#221e1c"
524 width: units.gu(30)
524 width: units.gu(30)
525 height: quickListColumn.height
525 height: quickListColumn.height
526+ visible: quickListShape.visible
526 anchors {
527 anchors {
527 left: root.inverted ? undefined : parent.right
528 left: root.inverted ? undefined : parent.right
528 right: root.inverted ? parent.left : undefined
529 right: root.inverted ? parent.left : undefined
qml/Launcher/graphics/highlight@18.pngdeleted

Binary file not shown.

qml/Launcher/graphics/icon-top-highlight.pngnew file

Binary file not shown.

qml/Launcher/graphics/non-selected@18.pngdeleted

Binary file not shown.

qml/Launcher/graphics/non-selected@18.scideleted−5
@@ -1,5 +0,0 @@
1−border.left: 54
2−border.top: 60
3−border.bottom: 60
4−border.right: 54
5−source: non-selected@18.png
qml/Launcher/graphics/selected@18.pngdeleted

Binary file not shown.

qml/Launcher/graphics/selected@18.scideleted−5
@@ -1,5 +0,0 @@
1−border.left: 54
2−border.top: 60
3−border.bottom: 60
4−border.right: 54
5−source: selected@18.png
qml/Launcher/graphics/triangle@18.pngdeleted

Binary file not shown.