🎨
This commit is contained in:
parent
29e9801d5c
commit
39575b4696
3 changed files with 32 additions and 16 deletions
|
|
@ -13,7 +13,7 @@ export function popout(path: string, w?: HTMLElement) {
|
|||
`width=${width}, height=${height}, top=${y}, left=${x}`);
|
||||
} else {
|
||||
const width = 400;
|
||||
const height = 450;
|
||||
const height = 500;
|
||||
const x = window.top.outerHeight / 2 + window.top.screenY - (height / 2);
|
||||
const y = window.top.outerWidth / 2 + window.top.screenX - (width / 2);
|
||||
window.open(url, url,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue