mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 00:27:58 +00:00
fixing chain behavior
This commit is contained in:
parent
7687ae512e
commit
1c3461b924
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ extends ToneWithContext<Options> {
|
|||
* node.chain(effect, panVol, Tone.Destination);
|
||||
*/
|
||||
chain(...nodes: InputNode[]): this {
|
||||
connectSeries(...nodes);
|
||||
connectSeries(this, ...nodes);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue