Skip to content

Commit 9b6ff21

Browse files
author
Shan M
authored
Fixes type definition for renderInfo()
1 parent e2fce11 commit 9b6ff21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/litegraph.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ export declare class LGraphCanvas {
12391239
/** draws the front canvas (the one containing all the nodes) */
12401240
drawFrontCanvas(): void;
12411241
/** draws some useful stats in the corner of the canvas */
1242-
renderInfo(): void;
1242+
renderInfo(ctx: CanvasRenderingContext2D, x: number, y: nymber): void;
12431243
/** draws the back canvas (the one containing the background and the connections) */
12441244
drawBackCanvas(): void;
12451245
/** draws the given node inside the canvas */

0 commit comments

Comments
 (0)