@@ -16,6 +16,7 @@
17import QtQuick 2.0
17import QtQuick 2.0
18import Ubuntu.Components 0.1
18import Ubuntu.Components 0.1
19+import "../Components"
21 id: indicatorRow
22 id: indicatorRow
@@ -25,7 +26,7 @@ Item {
25 property alias row: row
26 property alias row: row
26 property QtObject indicatorsModel: null
27 property QtObject indicatorsModel: null
28− Behavior on y {NumberAnimation {duration: 300; easing.type: Easing.OutCubic} }
29+ Behavior on y { StandardAnimation {} }
30 width: units.gu(40)
31 width: units.gu(40)
31 height: units.gu(3)
32 height: units.gu(3)
@@ -82,21 +83,9 @@ Item {
84 Behavior on y {
85 Behavior on y {
85− NumberAnimation{
86+ StandardAnimation {
86− duration: {
87+ // flow away from current index
87− if (index == 0) {
88+ duration: (rowRepeater.count - Math.abs(indicatorRow.currentItemIndex - index)) * (500/rowRepeater.count)
89− } else if (index == 1) {
91− } else if (index == 2) {
93− } else if (index == 3) {
96− return 100 + Math.random() * 200
99− easing.type: Easing.OutCubic