From e800eeb202490be7b104ec0e2745f99bc90d4b8a Mon Sep 17 00:00:00 2001 From: bymyself Date: Tue, 18 Feb 2025 09:48:54 -0700 Subject: [PATCH] type selected_nodes (#541) --- src/LGraphCanvas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LGraphCanvas.ts b/src/LGraphCanvas.ts index 0b8743d61..2573412df 100644 --- a/src/LGraphCanvas.ts +++ b/src/LGraphCanvas.ts @@ -533,7 +533,7 @@ export class LGraphCanvas implements ConnectionColorContext { /** called after moving a node @deprecated Does not handle multi-node move, and can return the wrong node. */ onNodeMoved?: (node_dragged: LGraphNode) => void /** called if the selection changes */ - onSelectionChange?: (selected_nodes: Dictionary) => void + onSelectionChange?: (selected: Dictionary) => void /** called when rendering a tooltip */ onDrawLinkTooltip?: ( ctx: CanvasRenderingContext2D,