fix: bar cpu label reads raw SystemStats values, not animated ones

This commit is contained in:
Damocles 2026-04-15 20:55:36 +02:00
parent 0e581905aa
commit 2ec3ebf057

View file

@ -79,7 +79,7 @@ M.BarSection {
}
}
M.BarLabel {
label: root.usage.toString().padStart(2) + "%@" + root.freqGhz.toFixed(2)
label: M.SystemStats.cpuUsage.toString().padStart(2) + "%@" + M.SystemStats.cpuFreqGhz.toFixed(2)
minText: "99%@9.99"
anchors.verticalCenter: parent.verticalCenter
TapHandler {