ADD: Mac OS titlebar
This commit is contained in:
@@ -20,7 +20,7 @@ const createWindow = () => {
|
||||
const mainWindow = new BrowserWindow({
|
||||
width: width,
|
||||
height: height,
|
||||
titleBarStyle: 'hidden',
|
||||
titleBarStyle: process.platform === 'darwin' ? 'hiddenInset' : 'hidden',
|
||||
resizable: true,
|
||||
minWidth: width / 3,
|
||||
minHeight: height / 3,
|
||||
|
||||
Reference in New Issue
Block a user