mirror of
https://github.com/mathuo/dockview
synced 2025-09-20 08:08:03 +00:00
feat: popout window position account for window.screen position
This commit is contained in:
parent
105be3661f
commit
312aeded25
@ -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