Skip to content

Commit

Permalink
docking: Also reduce the app grid area when in auto-hide mode
Browse files Browse the repository at this point in the history
We now need to also adapt the app-grid area to the available space in
order to correctly allocate the left/right buttons in autohide mode.

LP: #1979096, #1992847
  • Loading branch information
3v1n0 committed May 12, 2023
1 parent 9d465b1 commit c681c0c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docking.js
Original file line number Diff line number Diff line change
Expand Up @@ -2109,8 +2109,6 @@ var DockManager = class DashToDock_DockManager {

if (!wsThumbnails && this.mainDock.position === St.Side.BOTTOM)
box.y2 -= spacing;
} else if (state === OverviewControls.ControlsState.APP_GRID) {
return box;
}

if (this.mainDock.isHorizontal || this.settings.dockFixed)
Expand Down

0 comments on commit c681c0c

Please sign in to comment.