on xenial help sign in
spacing and (C) year
commit502289648d6921754ae5bc9dfa92d2e872b4c231 authorAlbert Astals <albert.astals@canonical.com> dateThu 18 Sep 2014, 10:12 (12 years ago) parent5024acf
2 files changed+2−3
qml/Dash/GenericScopeView.qml+1−2 tests/qmltests/Dash/tst_GenericScopeView.qml+1−1
qml/Dash/GenericScopeView.qml+1−2
@@ -171,10 +171,9 @@ FocusScope {
171171 if (baseItem.expandable) {
172172 var shouldExpand = baseItem.category === expandedCategoryId;
173173 if (shouldExpand != baseItem.expanded) {
174−
175174 var animate = false;
176175 if (!subPageLoader.open) {
177− var animateShrinking = !shouldExpand && baseItem.y + baseItem.item.collapsedHeight + baseItem.seeAllButton.height < categoryView.height;
176+ var animateShrinking = !shouldExpand && baseItem.y + baseItem.item.collapsedHeight + baseItem.seeAllButton.height < categoryView.height;
178177 var animateGrowing = shouldExpand && baseItem.y + baseItem.height < categoryView.height;
179178 animate = shrinkingAny || animateShrinking || animateGrowing;
180179 }
tests/qmltests/Dash/tst_GenericScopeView.qml+1−1
@@ -1,5 +1,5 @@
11/*
2− * Copyright 2013, 2014 Canonical Ltd.
2+ * Copyright 2014 Canonical Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by