From 65178b259fbbd77b78272c98a2fdb1abf2887039 Mon Sep 17 00:00:00 2001 From: Araxeus Date: Sun, 16 May 2021 21:32:40 +0300 Subject: [PATCH] fix video muting when volume < 3 --- plugins/precise-volume/front.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/precise-volume/front.js b/plugins/precise-volume/front.js index ddc1f3e5..bffc5588 100644 --- a/plugins/precise-volume/front.js +++ b/plugins/precise-volume/front.js @@ -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