fix(remote-menu): show volume slider whenever available
This commit is contained in:
parent
713700456e
commit
30be46326a
|
@ -3,6 +3,7 @@
|
||||||
**/
|
**/
|
||||||
|
|
||||||
.popupmenu {
|
.popupmenu {
|
||||||
|
min-width: 75px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
|
@ -172,7 +172,7 @@ class RemoteVideoMenuTriggerButton extends Component {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (onVolumeChange && isModerator) {
|
if (onVolumeChange) {
|
||||||
buttons.push(
|
buttons.push(
|
||||||
<VolumeSlider
|
<VolumeSlider
|
||||||
initialValue = { initialVolumeValue }
|
initialValue = { initialVolumeValue }
|
||||||
|
|
Loading…
Reference in New Issue