Only animate height when told to
commit0713febd4f150676e8eeecfac2620ba2ab58bb03
authorAlbert Astals <albert.astals@canonical.com>
dateFri 20 Jun 2014, 12:28 (12 years ago)
parent3a70aa8
qml/Dash/CardVerticalJournal.qml+8−1
@@ -36,7 +36,14 @@ DashRenderer {
3636
3737 Behavior on height {
3838 id: heightBehaviour
39− animation: UbuntuNumberAnimation { }
39+ enabled: false
40+ animation: UbuntuNumberAnimation {
41+ onRunningChanged: {
42+ if (!running) {
43+ heightBehaviour.enabled = false
44+ }
45+ }
46+ }
4047 }
4148
4249 function setFilter(filter, animate) {