mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2025-01-03 11:35:49 -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 () {
|
storedContext.bufferSource.onended = function () {
|
||||||
this.isPlaying = false;
|
this.isPlaying = false;
|
||||||
resolve();
|
resolve();
|
||||||
};
|
}.bind(storedContext);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue