Skip to content

Commit b3f5b03

Browse files
Calling getCurrentTime directly when setting seek as paused time since we don't want to self-assign it
1 parent 4e0c274 commit b3f5b03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v3/src/sound/webaudio/WebAudioSound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ var WebAudioSound = new Class({
8383
}
8484
// \/\/\/ isPlaying = false, isPaused = true \/\/\/
8585
this.stopAndRemoveBufferSource();
86-
this.currentConfig.seek = this.seek; // Equivalent to setting paused time
86+
this.currentConfig.seek = this.getCurrentTime(); // Equivalent to setting paused time
8787
return true;
8888
},
8989
resume: function () {

0 commit comments

Comments
 (0)