positioner
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ export async function openTrayWindow({
|
||||
await w.setSize(new LogicalSize(400, 600))
|
||||
// await w.center()
|
||||
await w.show()
|
||||
await moveWindow(Position.TopRight)
|
||||
await moveWindow(Position.TrayCenter)
|
||||
|
||||
return w
|
||||
}
|
||||
|
||||
@@ -241,7 +241,12 @@
|
||||
]
|
||||
},
|
||||
"opener:default",
|
||||
|
||||
"positioner:default",
|
||||
"positioner:allow-move-window",
|
||||
"positioner:allow-move-window-constrained",
|
||||
"positioner:allow-set-tray-icon-state",
|
||||
|
||||
{
|
||||
"identifier": "http:default",
|
||||
"allow": [
|
||||
|
||||
Reference in New Issue
Block a user