From 1fc68a3e849d358a98d9c690f30d54d64afd6038 Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Wed, 18 Mar 2026 13:32:01 +0300 Subject: [PATCH] If the system volume was set to 0, change the state of the "Mute" icon in the volume slider (MonitorStream.js) --- web/js/MonitorStream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/MonitorStream.js b/web/js/MonitorStream.js index 03a37d6cf..c386ad3ba 100644 --- a/web/js/MonitorStream.js +++ b/web/js/MonitorStream.js @@ -1029,7 +1029,7 @@ function MonitorStream(monitorData) { volumeSlider.setAttribute('data-volume', parseInt(audioStream.volume * 100)); if (volumeSlider.allowSetValue) { volumeSlider.noUiSlider.set(audioStream.volume * 100); - if (audioStream.muted === true) { + if (audioStream.muted === true || audioStream.volume === 0) { this.changeStateIconMute('off'); volumeSlider.classList.add('noUi-mute'); } else {