We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0032675 commit 3815296Copy full SHA for 3815296
src/LGraphCanvas.ts
@@ -7102,8 +7102,9 @@ export class LGraphCanvas implements ConnectionColorContext {
7102
if (node.getSlotMenuOptions) {
7103
menu_info = node.getSlotMenuOptions(slot)
7104
} else {
7105
- if (slot?.output?.links?.length)
+ if (slot.output?.links?.length || slot.input?.link != null) {
7106
menu_info.push({ content: "Disconnect Links", slot })
7107
+ }
7108
7109
const _slot = slot.input || slot.output
7110
if (!_slot) throw new TypeError("Both in put and output slots were null when processing context menu.")
0 commit comments