Skip to content

Commit a1456d2

Browse files
Made WahWah.sweep return the number instead of undefined _sweep.value
1 parent 0ea9c83 commit a1456d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tuna.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1775,7 +1775,7 @@
17751775
sweep: {
17761776
enumerable: true,
17771777
get: function() {
1778-
return this._sweep.value;
1778+
return this._sweep;
17791779
},
17801780
set: function(value) {
17811781
this._sweep = Math.pow(value > 1 ? 1 : value < 0 ? 0 : value, this._sensitivity);

0 commit comments

Comments
 (0)