From 1c863db86c2fa49ec4c7fccc2d602475609bb08a Mon Sep 17 00:00:00 2001 From: huchenlei Date: Mon, 30 Dec 2024 00:18:17 -0500 Subject: [PATCH 1/2] Track LGraphState.draggingCanvas --- src/LGraphCanvas.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/LGraphCanvas.ts b/src/LGraphCanvas.ts index dca2dc4..4b0c9ea 100644 --- a/src/LGraphCanvas.ts +++ b/src/LGraphCanvas.ts @@ -293,6 +293,7 @@ export class LGraphCanvas { set dragging_canvas(value: boolean) { this.state.draggingCanvas = value + this.#updateCursorStyle() } // #endregion Legacy accessors From c7e5d8997a376bc8ab63279ff16cc338241de090 Mon Sep 17 00:00:00 2001 From: huchenlei Date: Mon, 30 Dec 2024 00:19:30 -0500 Subject: [PATCH 2/2] nit --- src/LGraphCanvas.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/LGraphCanvas.ts b/src/LGraphCanvas.ts index 4b0c9ea..4b875f9 100644 --- a/src/LGraphCanvas.ts +++ b/src/LGraphCanvas.ts @@ -264,7 +264,6 @@ export class LGraphCanvas { set isDragging(value: boolean) { this.state.draggingItems = value - this.#updateCursorStyle() } get hoveringOver(): CanvasItem {