From b8006ae21a400cd2dc11da01c4422178ef6aed20 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 940000cee..57830676c 100644 --- a/src/lib/litegraph/src/LGraphCanvas.ts +++ b/src/lib/litegraph/src/LGraphCanvas.ts @@ -5015,6 +5015,7 @@ export class LGraphCanvas implements CustomEventDispatcher } ) } + if (renderLink instanceof MovingInputLink) this.setDirty(false, true) ctx.fillStyle = colour ctx.beginPath()