Skip to content

Commit

Permalink
Fix window titlebar on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustem Mussabekov committed Sep 29, 2021
1 parent 7283c69 commit 5a54f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Window {
nativeWindowOpen: true,

//appearance
titleBarStyle: 'hidden',
titleBarStyle: process.platform == 'darwin' ? 'hidden' : 'default',
backgroundColor: nativeTheme.shouldUseDarkColors ? '#303030' : 'white',
fullscreenable: process.platform == 'darwin',

Expand Down

0 comments on commit 5a54f5a

Please sign in to comment.