@@ -170,12 +170,6 @@ Rectangle {
173− onPeekingIndexChanged: {
174− if (peekingIndex !== -1) {
175− launcherListViewItem.clip = false
179 // The height of the area where icons start getting folded
173 // The height of the area where icons start getting folded
180 property int foldingStartHeight: units.gu(6.5)
174 property int foldingStartHeight: units.gu(6.5)
181 // The height of the area where the items reach the final folding angle
175 // The height of the area where the items reach the final folding angle
@@ -232,6 +226,8 @@ Rectangle {
232 z: -Math.abs(offset)
226 z: -Math.abs(offset)
233 maxAngle: 55
227 maxAngle: 55
234 property bool dragging: false
228 property bool dragging: false
229+ property var peekingItem: launcherListView.peekingIndex === index ? launcherDelegate : undefined
236 ThinDivider {
232 ThinDivider {
237 id: dropIndicator
233 id: dropIndicator
@@ -243,6 +239,14 @@ Rectangle {
245 states: [
241 states: [
244+ when: peekingItem === launcherDelegate && !dragging && launcher.state !== "visible"
246+ target: launcherDelegate
247+ x: units.gu(.5) + launcherListView.width * .5
247 name: "selected"
251 name: "selected"
248 when: dndArea.selectedItem === launcherDelegate && fakeDragItem.visible && !dragging
252 when: dndArea.selectedItem === launcherDelegate && fakeDragItem.visible && !dragging
@@ -277,6 +281,38 @@ Rectangle {
279 transitions: [
283 transitions: [
287+ SequentialAnimation {
289+ PropertyAction { target: panel; property: "visible"; value: (launcher.visibleWidth === 0) ? 1 : 0 }
290+ PropertyAction { target: launcherListViewItem; property: "clip"; value: 0 }
292+ UbuntuNumberAnimation {
293+ alwaysRunToEnd: true
295+ target: launcherDelegate
297+ to: units.gu(.5) + launcherListView.width * .5
298+ duration: UbuntuAnimation.BriskDuration
303+ UbuntuNumberAnimation {
304+ alwaysRunToEnd: true
306+ target: launcherDelegate
309+ duration: UbuntuAnimation.BriskDuration
312+ PropertyAction { target: launcherListViewItem; property: "clip"; value: 1 }
313+ PropertyAction { target: panel; property: "visible"; value: (launcher.visibleWidth === 0) ? 0 : 1 }
280 Transition {
316 Transition {
282 to: "selected"
318 to: "selected"