workspace: Fix switched arguments

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1738>
This commit is contained in:
Ivan Molodetskikh 2021-03-03 18:02:03 +03:00 committed by Marge Bot
parent 9ebfd0874c
commit 0a144ee54f

View File

@ -465,7 +465,7 @@ var WorkspaceLayout = GObject.registerClass({
_adjustSpacingAndPadding(rowSpacing, colSpacing, containerBox) { _adjustSpacingAndPadding(rowSpacing, colSpacing, containerBox) {
if (this._sortedWindows.length === 0) if (this._sortedWindows.length === 0)
return [colSpacing, rowSpacing, containerBox]; return [rowSpacing, colSpacing, containerBox];
// All of the overlays have the same chrome sizes, // All of the overlays have the same chrome sizes,
// so just pick the first one. // so just pick the first one.