Update background/token-manager.js
Co-authored-by: Gusted <williamzijl7@hotmail.com>
This commit is contained in:
parent
1f4f6d31f1
commit
6c9b5b968a
|
@ -169,8 +169,8 @@ const tokenMan = (() => {
|
||||||
height,
|
height,
|
||||||
}, wnd.state !== 'minimized' && {
|
}, wnd.state !== 'minimized' && {
|
||||||
// Center the popup to the current window
|
// Center the popup to the current window
|
||||||
top: wnd.top + (wnd.height - width) / 2,
|
top: Math.ceil(wnd.top + (wnd.height - width) / 2),
|
||||||
left: wnd.left + (wnd.width - width) / 2,
|
left: Math.ceil(wnd.left + (wnd.width - width) / 2),
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
const params = new URLSearchParams(
|
const params = new URLSearchParams(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user