mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-05 21:20:12 +00:00
fix on onConnectInput to have more info
This commit is contained in:
@@ -3589,10 +3589,7 @@
|
||||
|
||||
//allows nodes to block connection
|
||||
if (target_node.onConnectInput) {
|
||||
if (
|
||||
target_node.onConnectInput(target_slot, output.type, output) ===
|
||||
false
|
||||
) {
|
||||
if ( target_node.onConnectInput(target_slot, output.type, output, this, slot) === false ) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user