From 6db4750d96a7b1578e0478f470a63535424a9f80 Mon Sep 17 00:00:00 2001 From: AustinMroz Date: Sun, 18 Jan 2026 11:00:00 -0800 Subject: [PATCH] Fix crosshair cursor in vue mode (#8120) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When the mouse cursor is at the very edge of a a node in vue mode, a crosshair cursor will sometimes display. This happens because the mouse is over the canvas, and `LGraphCanvas.processMouseMove` determines the cursor is still above the node. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8120-Fix-crosshair-cursor-in-vue-mode-2eb6d73d36508116a3cfdd407c5e1e9c) by [Unito](https://www.unito.io) --------- Co-authored-by: Alexander Brown --- src/lib/litegraph/src/LGraphCanvas.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/litegraph/src/LGraphCanvas.ts b/src/lib/litegraph/src/LGraphCanvas.ts index 3129324e3e..30d7a3fd69 100644 --- a/src/lib/litegraph/src/LGraphCanvas.ts +++ b/src/lib/litegraph/src/LGraphCanvas.ts @@ -3187,7 +3187,9 @@ export class LGraphCanvas implements CustomEventDispatcher } // get node over - const node = graph.getNodeOnPos(x, y, this.visible_nodes) + const node = LiteGraph.vueNodesMode + ? null + : graph.getNodeOnPos(x, y, this.visible_nodes) const dragRect = this.dragging_rectangle if (dragRect) {