mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 07:30:11 +00:00
Standardise widgets - always initialize y to 0 (#2982)
This commit is contained in:
@@ -235,6 +235,7 @@ class ImagePreviewWidget implements ICustomWidget {
|
||||
readonly options: IWidgetOptions<unknown>
|
||||
// Dummy value to satisfy type requirements
|
||||
value: string
|
||||
y: number = 0
|
||||
|
||||
constructor(name: string, options: IWidgetOptions<unknown>) {
|
||||
this.type = 'custom'
|
||||
|
||||
Reference in New Issue
Block a user