mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-31 10:22:21 -05:00
bind to set isPlaying flag on ended
This commit is contained in:
parent
b68c84af02
commit
1c4709e5b9
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ SoundPlayer.prototype.finished = function () {
|
|||
storedContext.bufferSource.onended = function () {
|
||||
this.isPlaying = false;
|
||||
resolve();
|
||||
};
|
||||
}.bind(storedContext);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue