[gnome-shell] [dash] Left align well items



commit cba49959c1658144694d87f3c954902507abef55
Author: Florian Müllner <fmuellner gnome org>
Date:   Sun Jun 6 01:36:11 2010 +0200

    [dash] Left align well items
    
    When the app well does not contain enough items to fill a single
    row, items are centered - the same applies to sections in the
    all-app menu.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=619236

 js/ui/appDisplay.js |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index edf54c7..7d246ab 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -996,7 +996,6 @@ WellGrid.prototype = {
         let nColumns = 0;
         let usedWidth = 0;
         while (nColumns < WELL_MAX_COLUMNS &&
-                nColumns < children.length &&
                 (usedWidth + this._item_size <= forWidth)) {
             usedWidth += this._item_size + this._spacing;
             nColumns += 1;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]