mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 22:37:32 +00:00
[Cleanup] Remove LGraphCanvas.adjustNodesSize (#528)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user