Skip to content

Commit

Permalink
Show desktop app window frame with default window buttons (#335)
Browse files Browse the repository at this point in the history
The problem lies in titleBarStyle property that was set to 'hidden'.

More info: https://www.electronjs.org/docs/latest/tutorial
/window-customization#apply-custom-title-bar-styles-macos-windows
  • Loading branch information
guergana authored Apr 19, 2024
1 parent 55f07be commit 2cf8ea8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion desktop/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export function createWindow() {
show: false,
// alwaysOnTop: true,
autoHideMenuBar: true,
titleBarStyle: 'hidden',
...(process.platform === 'linux' ? { icon } : {}),
webPreferences: {
preload: join(__dirname, 'preload', 'index.js'),
Expand Down

0 comments on commit 2cf8ea8

Please sign in to comment.