From 3d520cfbdcad3c4aa8bf515a2cf1fed382421ed6 Mon Sep 17 00:00:00 2001 From: Austin Mroz Date: Mon, 15 Dec 2025 17:27:56 -0800 Subject: [PATCH] Set dirty to ensure disconnection circle updates Moving the draw operation to the background means that the distance check logic was no longer being tracked. since only a single bg draw was made. This is slightly less than ideal, but it's reasonable to expect that the user will continually be dragging the mouse when moving links --- src/lib/litegraph/src/LGraphCanvas.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/litegraph/src/LGraphCanvas.ts b/src/lib/litegraph/src/LGraphCanvas.ts index 10bec086e..3cb26c5ba 100644 --- a/src/lib/litegraph/src/LGraphCanvas.ts +++ b/src/lib/litegraph/src/LGraphCanvas.ts @@ -4770,6 +4770,7 @@ export class LGraphCanvas implements CustomEventDispatcher } ) } + if (renderLink instanceof MovingInputLink) this.setDirty(false, true) ctx.fillStyle = colour ctx.beginPath()