ADD: Adjustable traffic lights

This commit is contained in:
Robert Kossessa
2024-02-05 15:12:55 +01:00
parent af0bc2fd74
commit 8de2e7d1eb

View File

@@ -20,7 +20,8 @@ const createWindow = () => {
const mainWindow = new BrowserWindow({ const mainWindow = new BrowserWindow({
width: width, width: width,
height: height, height: height,
titleBarStyle: process.platform === 'darwin' ? 'hiddenInset' : 'hidden', titleBarStyle: 'hidden',
trafficLightPosition: { x: 10, y: 10 },
resizable: true, resizable: true,
minWidth: width / 3, minWidth: width / 3,
minHeight: height / 3, minHeight: height / 3,