mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-21 21:31:12 +02:00
titlebar refactor
This commit is contained in:
parent
cbe34aec8e
commit
840ae4b9cb
5 changed files with 67 additions and 13 deletions
|
|
@ -71,6 +71,8 @@ function createWindow() {
|
|||
height: 800,
|
||||
show: false, // Don't show until ready
|
||||
backgroundColor: "#252525", // Prevent white flash (matches dark mode)
|
||||
titleBarStyle: "hiddenInset",
|
||||
trafficLightPosition: { x: 12, y: 12 },
|
||||
webPreferences: {
|
||||
// IMPORTANT: keep Node out of renderer
|
||||
nodeIntegration: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue