Skip to content

Commit

Permalink
opt out of custom title bar on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey committed Mar 30, 2021
1 parent fc68b5a commit 1926609
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/src/ui/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,12 @@ export class App extends React.Component<IAppProps, IAppState> {
this.state.currentFoldout &&
this.state.currentFoldout.type === FoldoutType.AppMenu

// As Linux still uses the classic Electron menu, we are opting out of the
// custom menu that is shown as part of the title bar below
if (__LINUX__) {
return null
}

// When we're in full-screen mode on Windows we only need to render
// the title bar when the menu bar is active. On other platforms we
// never render the title bar while in full-screen mode.
Expand Down

0 comments on commit 1926609

Please sign in to comment.