Skip to content

Commit aa50313

Browse files
Returning value from getCurrentTime in seek property getter
1 parent a27f32b commit aa50313

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v3/src/sound/webaudio/WebAudioSound.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ Object.defineProperty(WebAudioSound.prototype, 'detune', {
265265
*/
266266
Object.defineProperty(WebAudioSound.prototype, 'seek', {
267267
get: function () {
268+
return this.getCurrentTime();
268269
},
269270
set: function (value) {
270271
}

0 commit comments

Comments
 (0)