调整,音乐模块
This commit is contained in:
@@ -279,6 +279,7 @@ function fmtFixedValue(v: number | null, item: OsdItem): string {
|
||||
case 'temperature':
|
||||
return padNum(Math.round(v).toString(), 3) // 0-150 → 3 字符
|
||||
case 'power':
|
||||
return padNum(v.toFixed(2), 6) // 12.34 / 123.45 → 6 字符(支持三位数功耗)
|
||||
case 'voltage':
|
||||
return padNum(v.toFixed(2), 5) // 12.34 → 5 字符
|
||||
case 'clock':
|
||||
|
||||
Reference in New Issue
Block a user