feat: popout window position account for window.screen position

This commit is contained in:
mathuo 2024-01-10 15:42:27 +00:00
parent 105be3661f
commit 312aeded25
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -543,8 +543,8 @@ export class DockviewComponent
className: theme ?? '',
popoutUrl: options?.popoutUrl ?? '/popout.html',
box: {
left: box.left,
top: box.top,
left: window.screenX + box.left,
top: window.screenY + box.top,
width: box.width,
height: box.height,
},