Skip to content

Commit

Permalink
docking: Add both bottom and top spacing when there are no workspaces…
Browse files Browse the repository at this point in the history
… thumbs
  • Loading branch information
3v1n0 committed Jun 2, 2023
1 parent 2bdc7ee commit dfb1ac1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docking.js
Original file line number Diff line number Diff line change
Expand Up @@ -2302,8 +2302,10 @@ var DockManager = class DashToDockDockManager {
const searchBox = this.overviewControls._searchEntry.get_allocation_box();
const { shouldShow: wsThumbnails } = this.overviewControls._thumbnailsBox;

if (!wsThumbnails)
if (!wsThumbnails) {
box.y1 += spacing;
box.y2 -= spacing;
}

box.y2 -= searchBox.get_height() + spacing;
box.y2 -= spacing;
Expand Down

0 comments on commit dfb1ac1

Please sign in to comment.