offset volume mixer popup below OSD slider panel
This commit is contained in:
parent
bcaabd5120
commit
b72ca67198
2 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue