fix hover panel positioning: use contentWidth for margins, pass screen from module context

This commit is contained in:
Damocles 2026-04-13 20:56:40 +02:00
parent 0fd3c78fb0
commit ffb869c5cc
4 changed files with 4 additions and 2 deletions

View file

@ -108,6 +108,7 @@ M.BarSection {
M.HoverPanel {
id: hoverPanel
showPanel: root._showPanel
screen: QsWindow.window?.screen ?? null
anchorX: root.mapToGlobal(root.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0)
accentColor: root.accentColor
panelNamespace: "nova-volume"