mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-21 23:34:31 +00:00
[TS] Enable noUnusedParameters (#3110)
This commit is contained in:
@@ -247,14 +247,14 @@ class ImagePreviewWidget implements ICustomWidget {
|
||||
draw(
|
||||
ctx: CanvasRenderingContext2D,
|
||||
node: LGraphNode,
|
||||
widget_width: number,
|
||||
_width: number,
|
||||
y: number,
|
||||
H: number
|
||||
_height: number
|
||||
): void {
|
||||
renderPreview(ctx, node, y)
|
||||
}
|
||||
|
||||
computeLayoutSize(this: IBaseWidget, node: LGraphNode) {
|
||||
computeLayoutSize(this: IBaseWidget) {
|
||||
return {
|
||||
minHeight: 220,
|
||||
minWidth: 1
|
||||
|
||||
Reference in New Issue
Block a user