fix volume panel disappear: decouple _expanded from _showPanel

This commit is contained in:
Damocles 2026-04-13 23:48:38 +02:00
parent f46b7d6c55
commit f23fbda6bb

View file

@ -41,7 +41,7 @@ M.BarSection {
property bool _expanded: false
property bool _osdActive: false
readonly property bool _anyHover: root._hovered || hoverPanel.panelHovered
readonly property bool _showPanel: _anyHover || _expanded || _osdActive
readonly property bool _showPanel: _anyHover || _osdActive
on_ShowPanelChanged: if (!_showPanel)
_expanded = false