offset volume mixer popup below OSD slider panel

This commit is contained in:
Damocles 2026-04-13 23:38:45 +02:00
parent bcaabd5120
commit b72ca67198
2 changed files with 4 additions and 1 deletions

View file

@ -45,12 +45,14 @@ PanelWindow {
WlrLayershell.exclusiveZone: 0 WlrLayershell.exclusiveZone: 0
WlrLayershell.namespace: root.panelNamespace WlrLayershell.namespace: root.panelNamespace
property real topMargin: 0
anchors.top: true anchors.top: true
anchors.left: true anchors.left: true
anchors.right: true anchors.right: true
anchors.bottom: true anchors.bottom: true
margins.top: 0 margins.top: topMargin
function _updatePosition() { function _updatePosition() {
const scr = screen; const scr = screen;

View file

@ -222,6 +222,7 @@ M.BarSection {
M.HoverPanel { M.HoverPanel {
popupMode: true popupMode: true
topMargin: 58
accentColor: root.accentColor accentColor: root.accentColor
screen: root.bar.screen screen: root.bar.screen
anchorX: root.mapToGlobal(root.width / 2, 0).x - (root.bar.screen?.x ?? 0) anchorX: root.mapToGlobal(root.width / 2, 0).x - (root.bar.screen?.x ?? 0)