This commit is contained in:
inventivetalent
2018-10-17 21:47:10 +02:00
parent 3b89916927
commit 153c87f954

View File

@@ -2456,6 +2456,7 @@ LGraphNode.prototype.addConnection = function(name,type,pos,direction)
* @param {number} minHeight
* @return {number} the total size
*/
LGraphNode.prototype.computeSize = function( minHeight, out )
{
var rows = Math.max( this.inputs ? this.inputs.length : 1, this.outputs ? this.outputs.length : 1);
var size = out || new Float32Array([0,0]);