goodbye audioslider... it was fun...

This commit is contained in:
Sakooooo 2024-11-16 23:25:53 +04:00
parent 2aae988918
commit 2c5c16743e
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -41,19 +41,6 @@ function Wifi() {
/>
}
function AudioSlider() {
const speaker = Wp.get_default()?.audio.defaultSpeaker!
return <box className="AudioSlider" css="min-width: 140px">
<icon icon={bind(speaker, "volumeIcon")} />
<slider
hexpand
onDragged={({ value }) => speaker.volume = value}
value={bind(speaker, "volume")}
/>
</box>
}
function AudioPercent() {
const speaker = Wp.get_default()?.audio.defaultSpeaker!