~unity-team/unity8/two_see_more_bugfix

« back to all changes in this revision

Viewing changes to qml/Dash/GenericScopeView.qml

  • Committer: Albert Astals
  • Date: 2014-09-18 10:05:23 UTC
  • Revision ID: albert.astals@canonical.com-20140918100523-l2pmyndidrhu1w7s
Typo

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
                            if (!shrinkingAny) {
188
188
                                categoryView.maximizeVisibleArea(firstCreated + i, baseItem.item.expandedHeight + baseItem.seeAllButton.height);
189
189
                            } else {
190
 
                                // If the space that shrkinking is smaller than the one we need to grow we'll call maximizeVisibleArea
 
190
                                // If the space that shrinking is smaller than the one we need to grow we'll call maximizeVisibleArea
191
191
                                // after the shrink/grow animation ends
192
192
                                var growHeightDifference = baseItem.item.expandedHeight - baseItem.item.collapsedHeight;
193
193
                                if (growHeightDifference > shrinkHeightDifference) {