Skip to content

Commit

Permalink
fix(UI): Fix text UI not updating when text is disabled (#3867)
Browse files Browse the repository at this point in the history
Closes #3728
  • Loading branch information
Álvaro Velad Galván committed Jan 18, 2022
1 parent 9705639 commit 9f53d39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/text_selection.js
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 9f53d39

Please sign in to comment.