From 41ab07747a0198db6f800516a67704adf239844e Mon Sep 17 00:00:00 2001 From: bymyself Date: Mon, 26 Aug 2024 19:30:33 -0700 Subject: [PATCH] Add zoom_speed to LGraphCanvas type def (#83) --- public/litegraph.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/public/litegraph.d.ts b/public/litegraph.d.ts index eaa1f819..62b0227e 100644 --- a/public/litegraph.d.ts +++ b/public/litegraph.d.ts @@ -1316,6 +1316,7 @@ export declare class LGraphCanvas { visible_links: LLink[]; visible_nodes: LGraphNode[]; zoom_modify_alpha: boolean; + zoom_speed: number; //mouse in canvas coordinates, where 0,0 is the top-left corner of the blue rectangle mouse: Vector2; //mouse in graph coordinates, where 0,0 is the top-left corner of the blue rectangle