diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js index 9ac4549ad..3715044eb 100644 --- a/js/ui/iconGrid.js +++ b/js/ui/iconGrid.js @@ -697,7 +697,7 @@ const PaginatedIconGrid = new Lang.Class({ }, _translateChildren: function(children, direction, nRows) { - let translationY = nRows * (this._vItemSize + this._getSpacing()); + let translationY = nRows * (this._getVItemSize() + this._getSpacing()); if (translationY == 0) return;