Skip to content

Commit

Permalink
Subtitle endpoint is exclusive - missed case
Browse files Browse the repository at this point in the history
  • Loading branch information
killergerbah committed Aug 4, 2024
1 parent f1904e1 commit 699df9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/subtitle-collection/subtitle-collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class SubtitleCollection<T extends SubtitleModel> {
}
} else {
for (const s of subtitles) {
this.tree.insert([s.start, s.end], s);
this.tree.insert([s.start, s.end - 1], s);
}
}
}
Expand Down

0 comments on commit 699df9e

Please sign in to comment.