Merge pull request #437 from mathuo/360-investigate-opening-tabs-in-new-browser-window

feat: popout window position account for window.screen position
This commit is contained in:
mathuo 2024-01-10 15:42:57 +00:00 committed by GitHub
commit 3ec3c8358a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,
},