perf/feat: gate cpu behaviors on _showPanel; add reducedMotion theme setting for ambient animations
This commit is contained in:
parent
937ae5af2e
commit
c96b023fbe
4 changed files with 11 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ M.BarSection {
|
|||
|
||||
property int usage: M.SystemStats.cpuUsage
|
||||
Behavior on usage {
|
||||
enabled: root._showPanel
|
||||
NumberAnimation {
|
||||
duration: 400
|
||||
easing.type: Easing.OutCubic
|
||||
|
|
@ -16,6 +17,7 @@ M.BarSection {
|
|||
|
||||
property real freqGhz: M.SystemStats.cpuFreqGhz
|
||||
Behavior on freqGhz {
|
||||
enabled: root._showPanel
|
||||
NumberAnimation {
|
||||
duration: 400
|
||||
easing.type: Easing.OutCubic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue