fix hover panel position: compute anchorX lazily on show, not at binding time
This commit is contained in:
parent
ffb869c5cc
commit
1430eeb6d4
4 changed files with 12 additions and 5 deletions
|
|
@ -109,7 +109,7 @@ M.BarSection {
|
|||
id: hoverPanel
|
||||
showPanel: root._showPanel
|
||||
screen: QsWindow.window?.screen ?? null
|
||||
anchorX: root.mapToGlobal(root.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0)
|
||||
anchorItem: root
|
||||
accentColor: root.accentColor
|
||||
panelNamespace: "nova-volume"
|
||||
contentWidth: 220
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue