This commit is contained in:
Sakooooo 2024-08-08 14:27:24 +04:00
parent 8e21e7b85e
commit a58419c617
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -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],
})
}