Added window transparency ans styles

This commit is contained in:
Jarek Ceborski
2024-07-12 21:12:34 +02:00
parent 7bd0b743f4
commit e012cc16e6
7 changed files with 15 additions and 38 deletions
+2 -1
View File
@@ -23,6 +23,7 @@ const WaveSrvReadySignalPidVarName = "WAVETERM_READY_SIGNAL_PID";
const AuthKeyFile = "waveterm.authkey";
const DevServerEndpoint = "http://127.0.0.1:8190";
const ProdServerEndpoint = "http://127.0.0.1:1719";
electron.nativeTheme.themeSource = "dark";
type WaveBrowserWindow = Electron.BrowserWindow & { waveWindowId: string; readyPromise: Promise<void> };
@@ -257,7 +258,7 @@ function createBrowserWindow(clientId: string, waveWindow: WaveWindow): WaveBrow
},
show: false,
autoHideMenuBar: true,
backgroundColor: "#000000",
vibrancy: "sidebar",
});
(bwin as any).waveWindowId = waveWindow.oid;
let readyResolve: (value: void) => void;