Fix looping animation

This commit is contained in:
Neale Pickett 2024-11-26 18:14:24 -07:00
parent f2ed004135
commit 99d965eb68
1 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ export class Player {
stop() {
if (this.loop_id) {
clearInterval(this.loop_id)
this.loop_id = null
}
}
@ -49,7 +50,7 @@ export class Player {
() => {
this.start()
},
2 * Second,
4 * Second,
)
return
}