diff --git a/modules/Tray.qml b/modules/Tray.qml index 5f0650b..160121d 100644 --- a/modules/Tray.qml +++ b/modules/Tray.qml @@ -20,7 +20,7 @@ RowLayout { id: iconItem required property SystemTrayItem modelData - readonly property bool _needsAttention: modelData.status === SystemTrayItemStatus.NeedsAttention + readonly property bool _needsAttention: modelData.status === 2 property bool _hovered: false property real _pulseOpacity: 1 diff --git a/modules/Volume.qml b/modules/Volume.qml index 08b24a2..031c9cd 100644 --- a/modules/Volume.qml +++ b/modules/Volume.qml @@ -121,25 +121,25 @@ M.BarSection { // Click inside panel doesn't dismiss } + Rectangle { + x: panelContent.x + y: panelContent.y + width: panelContent.width + height: panelContent.height + color: M.Theme.base01 + opacity: panelContent.opacity * Math.max(M.Theme.barOpacity, 0.85) + topLeftRadius: 0 + topRightRadius: 0 + bottomLeftRadius: M.Theme.radius + bottomRightRadius: M.Theme.radius + } + Column { id: panelContent width: 220 opacity: 0 y: -height - // Background - Rectangle { - width: parent.width - height: parent.height - color: M.Theme.base01 - opacity: Math.max(M.Theme.barOpacity, 0.85) - topLeftRadius: 0 - topRightRadius: 0 - bottomLeftRadius: M.Theme.radius - bottomRightRadius: M.Theme.radius - z: -1 - } - // Compact: slider row Item { width: parent.width