audio
This commit is contained in:
parent
0698530947
commit
327837666f
1 changed files with 6 additions and 1 deletions
|
@ -113,10 +113,15 @@ function Volume() {
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const value = Widget.Label({
|
||||||
|
label: audio.speaker.volume.toString(),
|
||||||
|
});
|
||||||
|
|
||||||
return Widget.Box({
|
return Widget.Box({
|
||||||
class_name: "volume",
|
class_name: "volume",
|
||||||
css: "min-width: 180px",
|
css: "min-width: 180px",
|
||||||
children: [icon, slider],
|
children: [
|
||||||
|
icon, value],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue