Ensure the past circle animations complete
Currently, all the animations stop as soon as the present circles are all visible. This change ensures that the animations run to completion.
Approved by Albert Astals Cid, PS Jenkins bot.
commit7bac1d5960e7701ae94691794f23e1eeca3f07ea
authorMichael Terry <michael.terry@canonical.com>
dateFri 5 Jul 2013, 12:03 (13 years ago)
parent1af707010d782a
Greeter/Infographics.qml+1−1
@@ -81,7 +81,7 @@ Item {
8181 var nextCircle = presentCircles.itemAt(presentCircleCounter++)
8282 if (nextCircle !== null) nextCircle.presentCircleGrowAnim.start()
8383 }
84− if (presentCircleCounter > infographic.model.currentDay) {
84+ if (presentCircleCounter > infographic.model.currentDay && pastCircleCounter >= pastCircles.count) {
8585 stop()
8686 }
8787 }