fix hover panel position: compute anchorX lazily on show, not at binding time

This commit is contained in:
Damocles 2026-04-13 21:13:37 +02:00
parent ffb869c5cc
commit 1430eeb6d4
4 changed files with 12 additions and 5 deletions

View file

@ -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