fix volume panel disappear: decouple _expanded from _showPanel
This commit is contained in:
parent
f46b7d6c55
commit
f23fbda6bb
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ M.BarSection {
|
||||||
property bool _expanded: false
|
property bool _expanded: false
|
||||||
property bool _osdActive: false
|
property bool _osdActive: false
|
||||||
readonly property bool _anyHover: root._hovered || hoverPanel.panelHovered
|
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)
|
on_ShowPanelChanged: if (!_showPanel)
|
||||||
_expanded = false
|
_expanded = false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue