Skip to content

Commit

Permalink
Offset from extension works with BD subs
Browse files Browse the repository at this point in the history
  • Loading branch information
killergerbah committed May 30, 2022
1 parent bc93297 commit a389f9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension/src/services/SubtitleContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ export default class SubtitleContainer {

this.subtitles = this.subtitles.map((s) => ({
text: s.text,
textImage: s.textImage,
start: s.originalStart + offset,
originalStart: s.originalStart,
end: s.originalEnd + offset,
Expand Down

0 comments on commit a389f9f

Please sign in to comment.