mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +00:00
fixes typedef for onDrawBackground and onDrawForeground
fixes the issue #131
This commit is contained in:
8
src/litegraph.d.ts
vendored
8
src/litegraph.d.ts
vendored
@@ -865,12 +865,12 @@ export declare class LGraphNode {
|
||||
|
||||
// https://github.com/jagenjo/litegraph.js/blob/master/guides/README.md#custom-node-appearance
|
||||
onDrawBackground?(
|
||||
canvas: HTMLCanvasElement,
|
||||
ctx: CanvasRenderingContext2D
|
||||
ctx: CanvasRenderingContext2D,
|
||||
canvas: HTMLCanvasElement
|
||||
): void;
|
||||
onDrawForeground?(
|
||||
canvas: HTMLCanvasElement,
|
||||
ctx: CanvasRenderingContext2D
|
||||
ctx: CanvasRenderingContext2D,
|
||||
canvas: HTMLCanvasElement
|
||||
): void;
|
||||
|
||||
// https://github.com/jagenjo/litegraph.js/blob/master/guides/README.md#custom-node-behaviour
|
||||
|
||||
Reference in New Issue
Block a user