From ef709d1a50774c585ac67d183892cc36dd07a51b Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Wed, 17 Sep 2025 16:52:13 -0700 Subject: [PATCH] nit --- .../vueNodes/composables/useSlotLinkInteraction.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/renderer/extensions/vueNodes/composables/useSlotLinkInteraction.ts b/src/renderer/extensions/vueNodes/composables/useSlotLinkInteraction.ts index e0c74f05b..7c4a7efdd 100644 --- a/src/renderer/extensions/vueNodes/composables/useSlotLinkInteraction.ts +++ b/src/renderer/extensions/vueNodes/composables/useSlotLinkInteraction.ts @@ -20,14 +20,12 @@ interface SlotInteractionOptions { nodeId: string index: number type: 'input' | 'output' - readonly?: boolean } export function useSlotLinkInteraction({ nodeId, index, - type, - readonly + type }: SlotInteractionOptions) { const { state, beginDrag, endDrag, updatePointerPosition } = useSlotLinkDragState() @@ -145,7 +143,6 @@ export function useSlotLinkInteraction({ } const onPointerDown = (event: PointerEvent) => { - if (readonly) return if (event.button !== 0) return if (!nodeId) return if (activePointerId !== null) return