This commit is contained in:
Dr.Lt.Data 2023-05-14 14:31:02 +09:00
parent dab72f9452
commit 1957a1cc04

View File

@ -57,7 +57,7 @@ export class ComfyApp {
static onClipspaceEditorSave() {
if(ComfyApp.clipspace_return_node) {
ComfyApp.pasteToClipspace(ComfyApp.clipspace_return_node);
ComfyApp.pasteFromClipspace(ComfyApp.clipspace_return_node);
}
}
@ -105,7 +105,7 @@ export class ComfyApp {
}
}
static pasteToClipspace(node) {
static pasteFromClipspace(node) {
if(ComfyApp.clipspace) {
// image paste
if(ComfyApp.clipspace.imgs && node.imgs) {
@ -258,7 +258,7 @@ export class ComfyApp {
if(ComfyApp.clipspace != null) {
options.push({
content: "Paste (Clipspace)",
callback: () => { ComfyApp.pasteToClipspace(this); }
callback: () => { ComfyApp.pasteFromClipspace(this); }
});
}