mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-10 05:22:34 +08:00
instant refresh on paste
force triggering 'changed' on paste action
This commit is contained in:
parent
80ec9a5ecf
commit
8af0b2b52e
@ -172,8 +172,8 @@ export class ComfyApp {
|
||||
ComfyApp.clipspace.widgets.forEach(({ type, name, value }) => {
|
||||
const prop = Object.values(this.widgets).find(obj => obj.type === type && obj.name === name);
|
||||
if (prop) {
|
||||
prop.value = value;
|
||||
}
|
||||
prop.value = value;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -204,6 +204,7 @@ export class ComfyApp {
|
||||
}
|
||||
}
|
||||
}
|
||||
this.trigger('changed');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user