fixing chain behavior

This commit is contained in:
tambien 2019-06-24 14:35:32 -04:00
parent 7687ae512e
commit 1c3461b924

View file

@ -231,7 +231,7 @@ extends ToneWithContext<Options> {
* node.chain(effect, panVol, Tone.Destination);
*/
chain(...nodes: InputNode[]): this {
connectSeries(...nodes);
connectSeries(this, ...nodes);
return this;
}