Merge pull request #119 from sha-N/patch-5

nodes attribute in selectNodes function is optional
This commit is contained in:
Javi Agenjo
2020-04-20 18:25:34 +02:00
committed by GitHub

2
src/litegraph.d.ts vendored
View File

@@ -1216,7 +1216,7 @@ export declare class LGraphCanvas {
/** selects a given node (or adds it to the current selection) */
selectNode(node: LGraphNode, add?: boolean): void;
/** selects several nodes (or adds them to the current selection) */
selectNodes(nodes: LGraphNode[], add?: boolean): void;
selectNodes(nodes?: LGraphNode[], add?: boolean): void;
/** removes a node from the current selection */
deselectNode(node: LGraphNode): void;
/** removes all nodes from the current selection */