mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 13:38:40 +00:00
fix degrade/undegrade
This commit is contained in:
parent
7adea0ac65
commit
4894588284
@ -97,7 +97,7 @@ Pattern.prototype._degradeBy = function (x) {
|
|||||||
return this._degradeByWith(rand, x);
|
return this._degradeByWith(rand, x);
|
||||||
};
|
};
|
||||||
|
|
||||||
Pattern.prototype._degrade = function () {
|
Pattern.prototype.degrade = function () {
|
||||||
return this._degradeBy(0.5);
|
return this._degradeBy(0.5);
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ Pattern.prototype._undegradeBy = function (x) {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
Pattern.prototype._undegrade = function () {
|
Pattern.prototype.undegrade = function () {
|
||||||
return this._undegradeBy(0.5);
|
return this._undegradeBy(0.5);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user