mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-23 08:48:28 +00:00
default transparency to false
This commit is contained in:
parent
9df9c99fbd
commit
6727285695
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue