@@ -37,16 +37,11 @@ Rectangle {
38 signal applicationSelected(string appId)
38 signal applicationSelected(string appId)
39 signal showDashHome()
39 signal showDashHome()
42 onXChanged: {
41 onXChanged: {
43 if (quickList.state == "open") {
42 if (quickList.state == "open") {
44 quickList.state = ""
43 quickList.state = ""
47− if (launcherListView.peekingIndex !== -1) {
@@ -238,21 +233,13 @@ Rectangle {
238 source: "graphics/divider-line.png"
233 source: "graphics/divider-line.png"
241− // just for debugging the peeking animation on the device
243− print("launcher-panel state changed")
244− if (state === "peeking") {
245− print("trying to run peeking animation")
249 states: [
236 states: [
251 name: "peeking"
238 name: "peeking"
252 when: peekingItem === launcherDelegate && !dragging && launcher.state !== "visible"
239 when: peekingItem === launcherDelegate && !dragging && launcher.state !== "visible"
253 PropertyChanges {
240 PropertyChanges {
254 target: launcherDelegate
241 target: launcherDelegate
255− x: units.gu(.5) + launcherListView.width * .5
242+ x: (units.gu(.5) + launcherListView.width * .5) * (root.inverted ? -1 : 1)
@@ -302,7 +289,7 @@ Rectangle {
303 target: launcherDelegate
290 target: launcherDelegate
304 properties: "x"
291 properties: "x"
305− to: units.gu(.5) + launcherListView.width * .5
292+ to: (units.gu(.5) + launcherListView.width * .5) * (root.inverted ? -1 : 1)
306 duration: UbuntuAnimation.BriskDuration
293 duration: UbuntuAnimation.BriskDuration