perf: consolidate notif timeStr timers into one global tick; fix osd open-on-start

This commit is contained in:
Damocles 2026-04-15 20:02:46 +02:00
parent 9fa2a72a0b
commit 6c37b6640c
4 changed files with 28 additions and 23 deletions

View file

@ -12,9 +12,12 @@ M.BarSection {
property int percent: 0
property bool _osdActive: false
property bool _ready: false
readonly property bool _showPanel: root._hovered || hoverPanel.panelHovered || _osdActive
onPercentChanged: if (percent > 0)
Component.onCompleted: _ready = true
onPercentChanged: if (_ready && percent > 0)
_flashPanel()
function _flashPanel() {