mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
fix
This commit is contained in:
@@ -2456,6 +2456,7 @@ LGraphNode.prototype.addConnection = function(name,type,pos,direction)
|
|||||||
* @param {number} minHeight
|
* @param {number} minHeight
|
||||||
* @return {number} the total size
|
* @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 rows = Math.max( this.inputs ? this.inputs.length : 1, this.outputs ? this.outputs.length : 1);
|
||||||
var size = out || new Float32Array([0,0]);
|
var size = out || new Float32Array([0,0]);
|
||||||
|
|||||||
Reference in New Issue
Block a user