on xenial help sign in
Fix launcher being left exposed after TutorialLeft screen
commit9e6283f0fc07386a61cfe805223cbf6386338805 authorMichael Terry <michael.terry@canonical.com> dateFri 9 Jan 2015, 09:40 (12 years ago) parent42bbcd4
1 file changed+5−3
qml/Tutorial/TutorialLeft.qml+5−3
qml/Tutorial/TutorialLeft.qml+5−3
@@ -48,9 +48,8 @@ TutorialPage {
4848 SequentialAnimation {
4949 id: teaseAnimation
5050 paused: running && root.paused
51− running: !slider.active && root.launcher.visibleWidth === 0
51+ running: !slider.active && root.launcher.visibleWidth === 0 && root.shown
5252 loops: Animation.Infinite
53− alwaysRunToEnd: true
5453
5554 UbuntuNumberAnimation {
5655 target: root.launcher
@@ -69,7 +68,10 @@ TutorialPage {
6968 Timer {
7069 id: finishTimer
7170 interval: 1
72− onTriggered: root.hide()
71+ onTriggered: {
72+ root.hide();
73+ root.launcher.x = 0; // make sure to reset launcher before we go
74+ }
7375 }
7476
7577 foreground {