on xenial help sign in
move the stop() down to the animation itself
c891da3Albert Astals Cid
qml/Launcher/Launcher.qml+1−1
@@ -62,7 +62,6 @@ Item {
62 }
62 }
63
63
64 function fadeOut() {
64 function fadeOut() {
65− animateTimer.stop();
66 fadeOutAnimation.start();
65 fadeOutAnimation.start();
67 }
66 }
68
67
@@ -137,6 +136,7 @@ Item {
137 id: fadeOutAnimation
136 id: fadeOutAnimation
138 ScriptAction {
137 ScriptAction {
139 script: {
138 script: {
139+ animateTimer.stop(); // Don't change the state behind our back
140 panel.layer.enabled = true
140 panel.layer.enabled = true
141 }
141 }
142 }
142 }