mirror of
https://github.com/mathuo/dockview
synced 2025-10-14 03:48:15 +00:00
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:
commit
3ec3c8358a
@ -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,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user