mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 07:30:11 +00:00
Remove Rename Slot option from input sockets (#975)
This menu option was unintentionally inherited from input slots. - Ref: https://github.com/Comfy-Org/ComfyUI_frontend/issues/3654
This commit is contained in:
@@ -7184,8 +7184,9 @@ export class LGraphCanvas {
|
||||
: { content: "Remove Slot", slot },
|
||||
)
|
||||
}
|
||||
if (!_slot.nameLocked)
|
||||
if (!_slot.nameLocked && !(("link" in _slot) && _slot.widget)) {
|
||||
menu_info.push({ content: "Rename Slot", slot })
|
||||
}
|
||||
|
||||
if (node.getExtraSlotMenuOptions) {
|
||||
menu_info.push(...node.getExtraSlotMenuOptions(slot))
|
||||
|
||||
Reference in New Issue
Block a user