fix: current subtitle index

This commit is contained in:
ThaUnknown 2023-12-26 02:53:12 +01:00
parent 9cbdfd876b
commit e23e7f9c72

View file

@ -147,7 +147,7 @@ export default class Subtitles {
this.headers[index].header += subtitles.join('\n')
}
if (!this.current) {
this.current = 0
this.current = index
this.initSubtitleRenderer()
this.selectCaptions(this.current)
this.onHeader()