on xenial help sign in
Used velocity instead of duration.
commit21874033f077350e1328685865bd3453cc4e9d50 authorNicolas d'Offay <nicolas.doffay@canonical.com> dateTue 8 Oct 2013, 14:59 (13 years ago) parent00ff8e2
1 file changed+3−2
Components/FilterGrid.qml+3−2
Components/FilterGrid.qml+3−2
@@ -64,7 +64,7 @@ Item {
6464 height: !filterAnimation.running ? childrenRect.height : height
6565 clip: filterAnimation.running
6666
67− NumberAnimation {
67+ SmoothedAnimation {
6868 property bool filterEndValue
6969 id: filterAnimation
7070 target: root
@@ -73,7 +73,8 @@ Item {
7373 // Duration and easing here match the ListViewWithPageHeader::m_contentYAnimation
7474 // otherwise since both animations can run at the same time you'll get
7575 // some visual weirdness.
76− duration: 200
76+ duration: -1
77+ velocity: 800
7778 easing.type: Easing.InOutQuad
7879 onStopped: {
7980 root.filter = filterEndValue;