Skip to content

Commit

Permalink
fix for #44
Browse files Browse the repository at this point in the history
  • Loading branch information
jgentes committed May 27, 2024
1 parent 27d2c17 commit f811129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/handlers/audioEvents.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const audioEvents = {

// Update time
let time = audioState[trackId]?.time
if (!time) {
if (!time || !Number.isFinite(time)) {
time = mixpointTime || regionsPlugin.getRegions()[0]?.start || 0
audioState[trackId].time = time
}
Expand Down

0 comments on commit f811129

Please sign in to comment.