Skip to content

Commit

Permalink
Fix looping animation
Browse files Browse the repository at this point in the history
  • Loading branch information
neale-pnnl committed Nov 27, 2024
1 parent f2ed004 commit 99d965e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/player.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class Player {
stop() {
if (this.loop_id) {
clearInterval(this.loop_id)
this.loop_id = null
}
}

Expand All @@ -49,7 +50,7 @@ export class Player {
() => {
this.start()
},
2 * Second,
4 * Second,
)
return
}
Expand Down

0 comments on commit 99d965e

Please sign in to comment.