[Refactor] Rename layout method to arrange/measure (#911)

Prefer verb function names.
This commit is contained in:
filtered
2025-04-09 17:49:41 +10:00
committed by GitHub
parent 05e8e25b6b
commit 297b557b94
2 changed files with 17 additions and 14 deletions

View File

@@ -4295,7 +4295,7 @@ export class LGraphCanvas implements ConnectionColorContext {
// render inputs and outputs
if (!node.collapsed) {
node.layout()
node.arrange()
node.drawSlots(ctx, {
fromSlot: this.linkConnector.renderLinks[0]?.fromSlot,
colorContext: this,