mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-20 11:32:05 +00:00
fix: current subtitle index
This commit is contained in:
parent
9cbdfd876b
commit
e23e7f9c72
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue