Merge pull request #21 from videodromm/master

midi slot fix (rename to i)
This commit is contained in:
Javi Agenjo
2018-03-07 19:25:23 +01:00
committed by GitHub

View File

@@ -1814,7 +1814,7 @@ LGraphNode.prototype.trigger = function( action, param )
for(var i = 0; i < this.outputs.length; ++i)
{
var output = this.outputs[ slot ];
var output = this.outputs[ i ];
if(!output || output.type !== LiteGraph.EVENT || (action && output.name != action) )
continue;
this.triggerSlot( i, param );