[gnome-shell/wip/paging-release2: 22/24] Fix special-case?
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/paging-release2: 22/24] Fix special-case?
- Date: Sat, 31 Aug 2013 01:17:58 +0000 (UTC)
commit a7122bea665e193853aef7a19b0d666b53c612b9
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Aug 29 20:07:42 2013 +0200
Fix special-case?
js/ui/appDisplay.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index d78bd92..e7add85 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -382,10 +382,10 @@ const AllView = new Lang.Class({
nRowsUp = nRows - nRowsDown;
}
this._updateIconOpacities(true);
- let dontExpand = (nRowsDown > 0 && rowsBelow.length == 0 && rowsAbove.length == 0);
- // Especial case: last page and no rows below the icon of the folder, and
- // there's not need to moave any rows down neither rows up.
- // Call directly the popup without animating
+
+ // Special case: On the last row with no rows below the icon, there's no
+ // need to move any rows either up or down
+ let dontExpand = (rowsBelow.length == 0 && nRowsUp == 0);
if (dontExpand) {
this._displayingPopup = true;
this._translatedChildren = [];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]