remove useless comment now
This commit is contained in:
parent
3b5fdcb31e
commit
826dd5d4b7
1 changed files with 0 additions and 4 deletions
|
@ -114,10 +114,6 @@ function Volume() {
|
|||
})
|
||||
|
||||
const volume = Widget.Label({
|
||||
// label: Math.round(audio.speaker.volume * 100).toString(),
|
||||
// label: !audio.speaker.is_muted
|
||||
// ? ` ${Math.round(audio.speaker.volume * 100).toString()}`
|
||||
// : "",
|
||||
label: audio.speaker.bind("volume").as((x) => `${Math.round(x * 100)}%`)
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue