goodbye audioslider... it was fun...
This commit is contained in:
parent
2aae988918
commit
2c5c16743e
1 changed files with 0 additions and 13 deletions
|
@ -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!
|
||||
|
||||
|
|
Loading…
Reference in a new issue