@@ -62,6 +62,17 @@ Item {
62 readonly property alias currentItem: iconTileGrid.currentItem
62 readonly property alias currentItem: iconTileGrid.currentItem
63 readonly property alias filtered: d.filter
63 readonly property alias filtered: d.filter
67+ // We do have filter and collapsed properties because we need to decouple
68+ // the real filtering with the animation since the closing animation
69+ // i.e. setFilter(false. true) we still need to not be filtering until
70+ // the animation finishes otherwise we hide the items when the animation
72+ property bool filter: true
73+ property bool collapsed: true
65 height: d.collapsed ? root.collapsedHeight : root.uncollapsedHeight
76 height: d.collapsed ? root.collapsedHeight : root.uncollapsedHeight
66 clip: filterAnimation.running
77 clip: filterAnimation.running
@@ -84,17 +95,6 @@ Item {
89− // We do have filter and collapsed properties because we need to decouple
90− // the real filtering with the animation since the closing animation
91− // i.e. setFilter(false. true) we still need to not be filtering until
92− // the animation finishes otherwise we hide the items when the animation
94− property bool filter: true
95− property bool collapsed: true
98 function setFilter(filter, animate) {
98 function setFilter(filter, animate) {
99 heightBehaviour.enabled = animate;
99 heightBehaviour.enabled = animate;
100 d.collapsed = filter;
100 d.collapsed = filter;