More control over how gallery selects images from events
This commit is contained in:
@@ -31,6 +31,13 @@ export default class ComfyExecuteSubgraphAction extends ComfyGraphNode {
|
||||
this.setProperty("tag", tag)
|
||||
}
|
||||
|
||||
override getTitle(): string {
|
||||
if (this.flags.collapsed) {
|
||||
return "Execute: " + String(this.properties.targetTag);
|
||||
}
|
||||
return this.title;
|
||||
}
|
||||
|
||||
override onAction(action: any, param: any) {
|
||||
const tag = this.getInputData(1) || this.properties.targetTag;
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ export default class ComfyReceiveOutputNode extends ComfyGraphNode {
|
||||
|
||||
static slotLayout: SlotLayout = {
|
||||
outputs: [
|
||||
{ name: "received", type: BuiltInSlotType.EVENT }
|
||||
{ name: "received", type: BuiltInSlotType.EVENT, options: { color_off: "fuchsia", color_on: "fuchsia" } }
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user