From edaf2933e11867d3f2dabbc80b55fd5d4666dda3 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Mon, 30 Dec 2024 00:20:01 -0500 Subject: [PATCH] Track LGraphState.draggingCanvas (#409) * Track LGraphState.draggingCanvas * nit --- src/LGraphCanvas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LGraphCanvas.ts b/src/LGraphCanvas.ts index dca2dc4..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 { @@ -293,6 +292,7 @@ export class LGraphCanvas { set dragging_canvas(value: boolean) { this.state.draggingCanvas = value + this.#updateCursorStyle() } // #endregion Legacy accessors