Skip to content

Commit

Permalink
fix: change repeat-check timing
Browse files Browse the repository at this point in the history
  • Loading branch information
N0chteil committed Jun 18, 2023
1 parent 56913dc commit 280c730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/managers/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ export class Bridge {
this.currentlyPlaying.elapsedTime === 0 &&
(lastCurrentlyPlaying.remainingTime ===
this.currentlyPlaying.duration ||
lastCurrentlyPlaying.remainingTime ===
this.currentlyPlaying.duration - 1)
lastCurrentlyPlaying.remainingTime <=
this.currentlyPlaying.duration - 2)
)
return true;
}
Expand Down

0 comments on commit 280c730

Please sign in to comment.