From f978819a3335cda7bc0e2414522cdf34f3dfa4e5 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 21 Oct 2021 19:56:43 -0400 Subject: [PATCH] Don't stop audio playback when hiding a popup (#1995) --- ext/js/display/display-audio.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/js/display/display-audio.js b/ext/js/display/display-audio.js index 3beeca97..7b481034 100644 --- a/ext/js/display/display-audio.js +++ b/ext/js/display/display-audio.js @@ -187,8 +187,9 @@ class DisplayAudio { _onFrameVisibilityChange({value}) { if (!value) { + // The auto-play timer is stopped, but any audio that has already started playing + // is not stopped, as this is a valid use case for some users. this.clearAutoPlayTimer(); - this.stopAudio(); } }