fix remaining PopupPanel refs in TrayMenu and Volume

This commit is contained in:
Damocles 2026-04-13 23:34:26 +02:00
parent 585297ea2d
commit bcaabd5120
2 changed files with 8 additions and 5 deletions

View file

@ -2,9 +2,11 @@ import QtQuick
import Quickshell
import "." as M
M.PopupPanel {
M.HoverPanel {
id: menuWindow
popupMode: true
required property var handle
property var _currentHandle: handle
@ -17,7 +19,7 @@ M.PopupPanel {
// Back button (submenus only)
Item {
visible: menuWindow._handleStack.length > 0
width: menuWindow.panelWidth
width: menuWindow.contentWidth
height: visible ? 28 : 0
Rectangle {
@ -58,7 +60,7 @@ M.PopupPanel {
required property QsMenuEntry modelData
width: menuWindow.panelWidth
width: menuWindow.contentWidth
height: modelData.isSeparator ? 9 : 28
Rectangle {