From 9f53d394279066f29a2d391b6964cba11c4a3e1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Velad=20Galv=C3=A1n?= Date: Tue, 18 Jan 2022 11:00:52 +0100 Subject: [PATCH] fix(UI): Fix text UI not updating when text is disabled (#3867) Closes #3728 --- ui/text_selection.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/text_selection.js b/ui/text_selection.js index 386a45b768..baa6f79c61 100644 --- a/ui/text_selection.js +++ b/ui/text_selection.js @@ -66,6 +66,7 @@ shaka.ui.TextSelection = class extends shaka.ui.SettingsMenu { this.eventManager.listen(this.player, 'texttrackvisibility', () => { this.onCaptionStateChange_(); + this.updateTextLanguages_(); }); this.eventManager.listen(this.player, 'textchanged', () => {