mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-22 07:19:41 +00:00
[Refactor] Rename layout method to arrange/measure (#911)
Prefer verb function names.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user