mirror of
https://github.com/photonstorm/phaser
synced 2025-02-25 20:07:08 +00:00
Calling getCurrentTime directly when setting seek as paused time since we don't want to self-assign it
This commit is contained in:
parent
4e0c274ca4
commit
b3f5b03e6f
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ var WebAudioSound = new Class({
|
||||||
}
|
}
|
||||||
// \/\/\/ isPlaying = false, isPaused = true \/\/\/
|
// \/\/\/ isPlaying = false, isPaused = true \/\/\/
|
||||||
this.stopAndRemoveBufferSource();
|
this.stopAndRemoveBufferSource();
|
||||||
this.currentConfig.seek = this.seek; // Equivalent to setting paused time
|
this.currentConfig.seek = this.getCurrentTime(); // Equivalent to setting paused time
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
resume: function () {
|
resume: function () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue