Skip to content

Commit

Permalink
fix: Allow the user to disable subtitles while paused (#7578)
Browse files Browse the repository at this point in the history
Fixes #7576
  • Loading branch information
avelad authored Nov 13, 2024
1 parent b473a08 commit f41c65d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/text/ui_text_displayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ shaka.text.UITextDisplayer = class {
*/
setTextVisibility(on) {
this.isTextVisible_ = on;
this.updateCaptions_(/* forceUpdate= */ true);
}

/**
Expand Down

0 comments on commit f41c65d

Please sign in to comment.