fix flyouts on multiple monitors again?
This commit is contained in:
parent
75a94628ad
commit
c59a2c622d
6 changed files with 9 additions and 7 deletions
|
|
@ -20,7 +20,7 @@ M.BarIcon {
|
|||
active: false
|
||||
sourceComponent: M.PowerMenu {
|
||||
screen: root.bar.screen
|
||||
anchorX: root.mapToGlobal(root.width / 2, 0).x
|
||||
anchorX: root.mapToGlobal(root.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0)
|
||||
onMenuClosed: menuLoader.active = false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue