From de10bf0c3a2a187fc0cd55bd72e1718a0ae5976f Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Fri, 14 Feb 2025 11:10:40 -0500 Subject: [PATCH] [Cleanup] Remove LGraphCanvas.adjustNodesSize (#528) --- src/LGraphCanvas.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/LGraphCanvas.ts b/src/LGraphCanvas.ts index 264f99529..c046b2b17 100644 --- a/src/LGraphCanvas.ts +++ b/src/LGraphCanvas.ts @@ -5574,14 +5574,6 @@ export class LGraphCanvas implements ConnectionColorContext { ctx.restore() } - adjustNodesSize(): void { - const nodes = this.graph._nodes - for (let i = 0; i < nodes.length; ++i) { - nodes[i].size = nodes[i].computeSize() - } - this.setDirty(true, true) - } - /** * resizes the canvas to a given size, if no size is passed, then it tries to fill the parentNode * @todo Remove or rewrite