on xenial help sign in
Somehow this code ended up repeated, remove
a9041e4Albert Astals
qml/Dash/GenericScopeView.qml−15
@@ -196,21 +196,6 @@ FocusScope {
196 readonly property bool expanded: baseItem.expanded || !baseItem.expandable
196 readonly property bool expanded: baseItem.expanded || !baseItem.expandable
197 height: expanded ? item.expandedHeight : item.collapsedHeight
197 height: expanded ? item.expandedHeight : item.collapsedHeight
198
198
199− Behavior on height {
200− id: heightBehaviour
201− enabled: false
202− animation: UbuntuNumberAnimation {
203− onRunningChanged: {
204− if (!running) {
205− heightBehaviour.enabled = false
206− }
207− }
208− }
209− }
210−
211− readonly property bool expanded: baseItem.expanded || !baseItem.expandable
212− height: expanded ? item.expandedHeight : item.collapsedHeight
213−
214 source: {
199 source: {
215 switch (cardTool.categoryLayout) {
200 switch (cardTool.categoryLayout) {
216 case "carousel": return "CardCarousel.qml";
201 case "carousel": return "CardCarousel.qml";