mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-08 20:34:35 +08:00
Update setgetnodes.js
This commit is contained in:
parent
0adab07d1a
commit
698d958085
@ -481,6 +481,9 @@ app.registerExtension({
|
||||
|
||||
getInputLink(slot) {
|
||||
const setter = this.findSetter(this.graph);
|
||||
if (this.mode !== 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (setter) {
|
||||
const slotInfo = setter.inputs[slot];
|
||||
@ -520,6 +523,11 @@ app.registerExtension({
|
||||
}
|
||||
|
||||
onDrawForeground(ctx, lGraphCanvas) {
|
||||
if (this.mode === 4) {
|
||||
console.log(`Mode is ${this.mode}, setting to disabled`)
|
||||
this.mode = 2;
|
||||
return null;
|
||||
}
|
||||
if (this.drawConnection) {
|
||||
this._drawVirtualLink(lGraphCanvas, ctx);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user