move the stop() down to the animation itself
commitc891da376133f1d22c57de7e6d50ecb413303ee1
authorAlbert Astals Cid <albert.astals@canonical.com>
dateWed 2 Sep 2015, 16:18 (11 years ago)
parentc7e1607
qml/Launcher/Launcher.qml+1−1
@@ -62,7 +62,6 @@ Item {
6262 }
6363
6464 function fadeOut() {
65− animateTimer.stop();
6665 fadeOutAnimation.start();
6766 }
6867
@@ -137,6 +136,7 @@ Item {
137136 id: fadeOutAnimation
138137 ScriptAction {
139138 script: {
139+ animateTimer.stop(); // Don't change the state behind our back
140140 panel.layer.enabled = true
141141 }
142142 }