on xenial help sign in
Standardised expansion speed in scopes.

Approved by Michał Sawicz.

commita166127f4acc9c7317fa4a54c10c6c7b3b5db524 authorNicolas d'Offay <nicolas.doffay@canonical.com> dateFri 11 Oct 2013, 15:14 (13 years ago) parent321d1b84718b04
1 file changed+2−3
Components/FilterGrid.qml+2−3
Components/FilterGrid.qml+2−3
@@ -66,7 +66,7 @@ Item {
6666 height: !filterAnimation.running ? childrenRect.height : height
6767 clip: filterAnimation.running
6868
69− NumberAnimation {
69+ SmoothedAnimation {
7070 property bool filterEndValue
7171 id: filterAnimation
7272 target: root
@@ -75,7 +75,7 @@ Item {
7575 // Duration and easing here match the ListViewWithPageHeader::m_contentYAnimation
7676 // otherwise since both animations can run at the same time you'll get
7777 // some visual weirdness.
78− duration: 200
78+ velocity: units.gu(100)
7979 easing.type: Easing.InOutQuad
8080 onStopped: {
8181 root.filter = filterEndValue;
@@ -104,6 +104,5 @@ Item {
104104 model: root.model
105105 limit: (filter && !filterAnimation.running) ? collapsedRowCount * iconTileGrid.columns : -1
106106 }
107−
108107 }
109108}