skibidi
This commit is contained in:
parent
8e21e7b85e
commit
a58419c617
1 changed files with 5 additions and 1 deletions
|
@ -113,10 +113,14 @@ function Volume() {
|
|||
}),
|
||||
})
|
||||
|
||||
const volume = Widget.Label({
|
||||
label: Math.round(audio.speaker.volume * 100).toString(),
|
||||
})
|
||||
|
||||
return Widget.Box({
|
||||
class_name: "volume",
|
||||
css: "min-width: 180px",
|
||||
children: [icon, slider],
|
||||
children: [icon, volume],
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue