Ver Fonte

Clean up

tentone há 5 anos atrás
pai
commit
e0e527966d
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      source/objects/node/Node.js

+ 2 - 2
source/objects/node/Node.js

@@ -73,8 +73,8 @@ Node.prototype.onUpdate = function()
 	}
 
 	// Output hooks position
-	var step = height / (this.outputs.length + 1);
-	var start = this.box.min.y + step;
+	step = height / (this.outputs.length + 1);
+	start = this.box.min.y + step;
 
 	for(var i = 0; i < this.outputs.length; i++)
 	{