@@ -29,13 +29,7 @@ Item {
29 Connections {
29 Connections {
30 target: model
30 target: model
32− property bool appeared: false
34− onDataAboutToAppear: {
35− // Don't 'hide' on first appearance, since there is no content yet
36− if (appeared) startHideAnimation() // hide "no data" label
32+ onDataAboutToAppear: startHideAnimation() // hide "no data" label
39 onDataAppeared: startShowAnimation()
33 onDataAppeared: startShowAnimation()
41 onDataAboutToChange: startHideAnimation()
35 onDataAboutToChange: startHideAnimation()
@@ -46,11 +40,19 @@ Item {
48 function startShowAnimation() {
42 function startShowAnimation() {
43+ dotHideAnimTimer.stop()
44+ circleShrinkAnimTimer.stop()
45+ notification.hideAnim.stop()
49 dotShowAnimTimer.startFromBeginning()
47 dotShowAnimTimer.startFromBeginning()
50 notification.showAnim.start()
48 notification.showAnim.start()
53 function startHideAnimation() {
51 function startHideAnimation() {
52+ dotShowAnimTimer.stop()
53+ circleGrowAnimTimer.stop()
54+ notification.showAnim.stop()
54 dotHideAnimTimer.startFromBeginning()
56 dotHideAnimTimer.startFromBeginning()
55 notification.hideAnim.start()
57 notification.hideAnim.start()