fix hover panel positioning: use contentWidth for margins, pass screen from module context
This commit is contained in:
parent
0fd3c78fb0
commit
ffb869c5cc
4 changed files with 4 additions and 2 deletions
|
|
@ -98,6 +98,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-backlight"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue