fix video muting when volume < 3

This commit is contained in:
Araxeus
2021-05-16 21:32:40 +03:00
parent ea672c2423
commit 65178b259f

View File

@ -136,7 +136,7 @@ function changeVolume(toIncrease, options) {
// Save the new volume
saveVolume(toPercent(videoStream.volume), options);
// Slider value automatically rounds to multiples of 5
slider.value = options.savedVolume;
slider.value = Math.max(options.savedVolume, 5);
// Change tooltips to new value
setTooltip(options.savedVolume);
// Show volume slider