mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-24 16:29:45 +00:00
Simplify LGraphNode.onDrawBackground signature (#463)
This commit is contained in:
@@ -411,9 +411,6 @@ export class LGraphNode implements Positionable, IPinnable {
|
||||
onDrawBackground?(
|
||||
this: LGraphNode,
|
||||
ctx: CanvasRenderingContext2D,
|
||||
canvas: LGraphCanvas,
|
||||
canvasElement: HTMLCanvasElement,
|
||||
mousePosition: Point,
|
||||
): void
|
||||
onNodeCreated?(this: LGraphNode): void
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user