made window dragable

This commit is contained in:
2025-09-09 14:28:17 +12:00
parent cb9a2fe897
commit 1537c495bd
4 changed files with 6 additions and 15 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ function createWindow(startUrl) {
// draggable region via CSS (-webkit-app-region: drag).
Object.assign(windowOptions, {
frame: true,
titleBarStyle: 'hidden',
titleBarStyle: 'hiddenInset',
trafficLightPosition: { x: 15, y: 20 },
// Transparent background so renderer chrome blends with content.
backgroundColor: '#00000000',