mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-21 21:32:13 +01:00
default transparency to false
This commit is contained in:
parent
9df9c99fbd
commit
6727285695
@ -323,7 +323,7 @@ function createBrowserWindow(
|
||||
show: false,
|
||||
autoHideMenuBar: true,
|
||||
};
|
||||
const isTransparent = settings?.window?.transparent ?? true;
|
||||
const isTransparent = settings?.window?.transparent ?? false;
|
||||
if (isTransparent) {
|
||||
winOpts.transparent = true;
|
||||
} else {
|
||||
|
@ -204,7 +204,7 @@ function switchBlock(tabId: string, offsetX: number, offsetY: number) {
|
||||
function AppSettingsUpdater() {
|
||||
const settings = jotai.useAtomValue(atoms.settingsConfigAtom);
|
||||
React.useEffect(() => {
|
||||
let isTransparent = settings?.window?.transparent ?? true;
|
||||
let isTransparent = settings?.window?.transparent ?? false;
|
||||
let opacity = util.boundNumber(settings?.window?.opacity ?? 0.8, 0, 1);
|
||||
let baseBgColor = settings?.window?.bgcolor;
|
||||
console.log("window settings", settings.window);
|
||||
|
Loading…
Reference in New Issue
Block a user