ADD: Mac OS titlebar

This commit is contained in:
Robert Kossessa
2024-02-05 15:07:58 +01:00
parent 712e68ae1d
commit af0bc2fd74
3 changed files with 17 additions and 6 deletions

View File

@@ -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,