Bar SysMon: converted to Layout
This commit is contained in:
parent
f06d0f4e1e
commit
94293e4c63
2 changed files with 105 additions and 104 deletions
|
|
@ -22,7 +22,7 @@ Singleton {
|
|||
if (bytesPerSecond < 1024) {
|
||||
return bytesPerSecond.toFixed(0) + "B/s"
|
||||
} else if (bytesPerSecond < 1024 * 1024) {
|
||||
return (bytesPerSecond / 1024).toFixed(1) + "KB/s"
|
||||
return (bytesPerSecond / 1024).toFixed(0) + "KB/s"
|
||||
} else if (bytesPerSecond < 1024 * 1024 * 1024) {
|
||||
return (bytesPerSecond / (1024 * 1024)).toFixed(1) + "MB/s"
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue