Skip to content

Commit 48f86ab

Browse files
Returning config value when getting loop property
1 parent 02962f3 commit 48f86ab

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
@@ -299,6 +299,7 @@ Object.defineProperty(WebAudioSound.prototype, 'seek', {
299299
*/
300300
Object.defineProperty(WebAudioSound.prototype, 'loop', {
301301
get: function () {
302+
return this.currentConfig.loop;
302303
},
303304
set: function (value) {
304305
}

0 commit comments

Comments
 (0)