Skip to content

Commit

Permalink
add comment explaining dock.hide
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-james-watson committed Nov 8, 2021
1 parent 7ea3a4c commit 9d37c11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/main/lib/windows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ export function createBreakWindows(): void {

breakWindow.setVisibleOnAllWorkspaces(true);

// setVisibleOnAllWorkspaces seems to have a bug that causes the dock to
// unhide when called.
if (process.platform === "darwin") {
app.dock.hide();
}
Expand Down

0 comments on commit 9d37c11

Please sign in to comment.