mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-10 18:10:08 +00:00
Merge pull request #118 from sha-N/patch-4
Fixes type definition for renderInfo()
This commit is contained in:
2
src/litegraph.d.ts
vendored
2
src/litegraph.d.ts
vendored
@@ -1239,7 +1239,7 @@ export declare class LGraphCanvas {
|
||||
/** draws the front canvas (the one containing all the nodes) */
|
||||
drawFrontCanvas(): void;
|
||||
/** draws some useful stats in the corner of the canvas */
|
||||
renderInfo(): void;
|
||||
renderInfo(ctx: CanvasRenderingContext2D, x: number, y: number): void;
|
||||
/** draws the back canvas (the one containing the background and the connections) */
|
||||
drawBackCanvas(): void;
|
||||
/** draws the given node inside the canvas */
|
||||
|
||||
Reference in New Issue
Block a user