visibility & decorations window creation toggled
This commit is contained in:
+3
-2
@@ -32,7 +32,7 @@ export async function openFullWindow({
|
|||||||
visibleOnAllWorkspaces: false,
|
visibleOnAllWorkspaces: false,
|
||||||
alwaysOnTop: false,
|
alwaysOnTop: false,
|
||||||
resizable: true,
|
resizable: true,
|
||||||
visible: true,
|
visible: false,
|
||||||
focus: true,
|
focus: true,
|
||||||
title: name,
|
title: name,
|
||||||
decorations: true,
|
decorations: true,
|
||||||
@@ -73,7 +73,7 @@ export async function openWindow({
|
|||||||
visible: true,
|
visible: true,
|
||||||
focus: true,
|
focus: true,
|
||||||
title: name,
|
title: name,
|
||||||
decorations: true,
|
decorations: false,
|
||||||
url: url,
|
url: url,
|
||||||
// parent: 'main',
|
// parent: 'main',
|
||||||
})
|
})
|
||||||
@@ -83,6 +83,7 @@ export async function openWindow({
|
|||||||
await w.hide()
|
await w.hide()
|
||||||
await w.setSize(new LogicalSize(width, height))
|
await w.setSize(new LogicalSize(width, height))
|
||||||
await w.center()
|
await w.center()
|
||||||
|
await w.setDecorations(true)
|
||||||
await w.show()
|
await w.show()
|
||||||
|
|
||||||
useStore.setState({ firstWindow: false })
|
useStore.setState({ firstWindow: false })
|
||||||
|
|||||||
Reference in New Issue
Block a user