adsf
This commit is contained in:
parent
a58419c617
commit
e82fff9cad
1 changed files with 4 additions and 1 deletions
|
@ -114,7 +114,10 @@ function Volume() {
|
||||||
})
|
})
|
||||||
|
|
||||||
const volume = Widget.Label({
|
const volume = Widget.Label({
|
||||||
label: Math.round(audio.speaker.volume * 100).toString(),
|
// label: Math.round(audio.speaker.volume * 100).toString(),
|
||||||
|
label: !audio.speaker.is_muted
|
||||||
|
? ` ${Math.round(audio.speaker.volume * 100).toString()}`
|
||||||
|
: "",
|
||||||
})
|
})
|
||||||
|
|
||||||
return Widget.Box({
|
return Widget.Box({
|
||||||
|
|
Loading…
Reference in a new issue