formatting

This commit is contained in:
epicsam123 2025-03-20 10:29:26 -04:00 committed by GitHub
parent bc3b3f6d69
commit e67a30b124
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -620,7 +620,7 @@ function toggle_caption_window() {
update_captions(); update_captions();
} }
function toggle_caption_opacity() { function toggle_caption_opacity() {
const numOptions = options.textOpacity.length; const numOptions = options.textOpacity.length;
const textOpacity = player.textTrackSettings.getValues().textOpacity || '1'; const textOpacity = player.textTrackSettings.getValues().textOpacity || '1';
const curIndex = options.textOpacity.indexOf(textOpacity); const curIndex = options.textOpacity.indexOf(textOpacity);