Skip to content

Commit 828665b

Browse files
authored
Fix workspaces grid layout (#11094)
Co-authored-by: Asghwor <>
1 parent 40fac54 commit 828665b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/ui/expoThumbnail.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1632,7 +1632,7 @@ ExpoThumbnailsBox.prototype = {
16321632
let childBox = new Clutter.ActorBox();
16331633

16341634
let calcPaddingX = function(nCols) {
1635-
let neededX = (thumbnailWidth * nCols) + totalSpacingX + (spacing * 2);
1635+
let neededX = (thumbnailWidth * nCols) + (spacing * (nCols + 1));
16361636
let extraSpaceX = (box.x2 - box.x1) - neededX;
16371637
return spacing + extraSpaceX/2;
16381638
};

0 commit comments

Comments
 (0)