mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-01 05:49:54 +00:00
Fix autogrow input removal below min
This commit is contained in:
@@ -481,6 +481,7 @@ function autogrowInputDisconnected(index: number, node: AutogrowNode) {
|
||||
lastInput.link = null
|
||||
}
|
||||
app.canvas?.setDirty(true, true)
|
||||
if (groupInputs.length / stride <= min) return
|
||||
//if all second to last ordinals disconnected, consider for removal
|
||||
const penultimateInputs = groupInputs.slice(-stride * 2)
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user