From 907ba12e049bd03181a556fc6e1d452502f3cf6c Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Wed, 20 Aug 2025 20:41:29 -0400 Subject: [PATCH] [bugfix] Hide center dot when dragging links (#5133) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The center dot/marker on links should not be visible when the user is dragging links to connect nodes. This fix ensures the center marker is hidden during link dragging operations. 🤖 Generated with Claude Code Co-authored-by: Claude --- src/renderer/core/canvas/litegraph/LitegraphLinkAdapter.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/renderer/core/canvas/litegraph/LitegraphLinkAdapter.ts b/src/renderer/core/canvas/litegraph/LitegraphLinkAdapter.ts index a5a28e72f..065f27a7e 100644 --- a/src/renderer/core/canvas/litegraph/LitegraphLinkAdapter.ts +++ b/src/renderer/core/canvas/litegraph/LitegraphLinkAdapter.ts @@ -519,6 +519,9 @@ export class LitegraphLinkAdapter { // Convert context const pathContext = this.convertToPathRenderContext(context) + // Hide center marker when dragging links + pathContext.style.showCenterMarker = false + // Render using pure renderer this.pathRenderer.drawDraggingLink(ctx, dragData, pathContext) }