@@ -49,21 +49,28 @@ TutorialPage {
49 paused: running && root.paused
49 paused: running && root.paused
50 running: !slider.active && root.launcher.visibleWidth === 0 && root.shown
50 running: !slider.active && root.launcher.visibleWidth === 0 && root.shown
51 loops: Animation.Infinite
51 loops: Animation.Infinite
52+ property real bounce: 0
53 UbuntuNumberAnimation {
54 UbuntuNumberAnimation {
54− target: root.launcher
55+ target: teaseAnimation
55− property: "x"
56+ property: "bounce"
56 to: units.gu(2)
57 to: units.gu(2)
57 duration: UbuntuAnimation.SleepyDuration
58 duration: UbuntuAnimation.SleepyDuration
59 UbuntuNumberAnimation {
60 UbuntuNumberAnimation {
60− target: root.launcher
61+ target: teaseAnimation
61− property: "x"
62+ property: "bounce"
63 duration: UbuntuAnimation.SleepyDuration
64 duration: UbuntuAnimation.SleepyDuration
69+ target: root.launcher
71+ value: Math.min(root.launcher.panelWidth - root.launcher.visibleWidth, teaseAnimation.bounce)
68 id: finishTimer
75 id: finishTimer
69 interval: 1
76 interval: 1