SysMon-Bar: Clamped CPU usage to 99%

This commit is contained in:
ItsLemmy
2025-11-01 13:53:43 -04:00
parent 7ffbe250ca
commit 99bae95bd4
+1 -1
View File
@@ -114,7 +114,7 @@ Rectangle {
}
NText {
text: `${Math.round(SystemStatService.cpuUsage)}%`
text: `${Math.min(99, Math.round(SystemStatService.cpuUsage))}%`
family: Settings.data.ui.fontFixed
pointSize: textSize
applyUiScale: false