comment on duration and easing
commit229856efb7e82d890a1e872c42b09f3641b0a0ee
authorAlbert Astals <albert.astals@canonical.com>
dateWed 14 Aug 2013, 13:30 (13 years ago)
parentf24a896
Components/FilterGrid.qml+4−1
@@ -69,8 +69,11 @@ Item {
6969 id: filterAnimation
7070 target: root
7171 property: "height"
72− duration: 200
7372 to: filterEndValue ? root.collapsedHeight : root.uncollapsedHeight
73+ // Duration and easing here match the ListViewWithPageHeader::m_contentYAnimation
74+ // otherwise since both animations can run at the same time you'll get
75+ // some visual weirdness.
76+ duration: 200
7477 easing.type: Easing.InOutQuad
7578 onStopped: {
7679 root.filter = filterEndValue;