on xenial help sign in
remove highlight on pressed
commitd07a47e09f597ddcfb73db5c20c925d625abe002 authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 21 Aug 2013, 09:57 (13 years ago) parente077c55
1 file changed−5
Launcher/LauncherPanel.qml−5
Launcher/LauncherPanel.qml−5
@@ -136,7 +136,6 @@ Item {
136136 height: itemHeight
137137 iconName: model.icon
138138 inverted: root.inverted
139− highlighted: dragging && index === root.highlightIndex
140139 z: -Math.abs(offset)
141140 maxAngle: 60
142141 property bool dragging: false
@@ -243,7 +242,6 @@ Item {
243242
244243 onPressed: {
245244 selectedItem = launcherListView.itemAt(mouseX, mouseY + launcherListView.realContentY)
246− selectedItem.highlighted = true
247245 }
248246
249247 onClicked: {
@@ -273,7 +271,6 @@ Item {
273271 }
274272
275273 onCanceled: {
276− selectedItem.highlighted = false
277274 selectedItem = undefined;
278275 preDragging = false;
279276 postDragging = false;
@@ -287,7 +284,6 @@ Item {
287284 draggedIndex = -1;
288285 }
289286
290− selectedItem.highlighted = false
291287 selectedItem.dragging = false;
292288 selectedItem = undefined;
293289 preDragging = false;
@@ -412,7 +408,6 @@ Item {
412408 height: itemHeight
413409 width: itemWidth
414410 rotation: root.rotation
415− highlighted: true
416411 itemOpacity: 0.9
417412
418413 function flatten() {