mirror of
https://github.com/mathuo/dockview
synced 2025-09-25 02:28:06 +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 ?? '',
|
className: theme ?? '',
|
||||||
popoutUrl: options?.popoutUrl ?? '/popout.html',
|
popoutUrl: options?.popoutUrl ?? '/popout.html',
|
||||||
box: {
|
box: {
|
||||||
left: box.left,
|
left: window.screenX + box.left,
|
||||||
top: box.top,
|
top: window.screenY + box.top,
|
||||||
width: box.width,
|
width: box.width,
|
||||||
height: box.height,
|
height: box.height,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user