mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-15 12:21:47 +00:00
fix video muting when volume < 3
This commit is contained in:
@ -136,7 +136,7 @@ function changeVolume(toIncrease, options) {
|
|||||||
// Save the new volume
|
// Save the new volume
|
||||||
saveVolume(toPercent(videoStream.volume), options);
|
saveVolume(toPercent(videoStream.volume), options);
|
||||||
// Slider value automatically rounds to multiples of 5
|
// Slider value automatically rounds to multiples of 5
|
||||||
slider.value = options.savedVolume;
|
slider.value = Math.max(options.savedVolume, 5);
|
||||||
// Change tooltips to new value
|
// Change tooltips to new value
|
||||||
setTooltip(options.savedVolume);
|
setTooltip(options.savedVolume);
|
||||||
// Show volume slider
|
// Show volume slider
|
||||||
|
|||||||
Reference in New Issue
Block a user