Fix H3 Action script iterating a number
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "ComfyUI-PromptForge"
|
||||
description = "ComfyUI prompt enhancement suite: model/config node with GPU-aware auto settings, prompt enhancer with a preset catalog, and a standalone config finder."
|
||||
version = "1.28.10"
|
||||
version = "1.28.11"
|
||||
license = { file = "LICENSE" }
|
||||
dependencies = [
|
||||
"transformers",
|
||||
|
||||
@@ -364,9 +364,9 @@ app.registerExtension({
|
||||
const minimum = node.computeSize();
|
||||
node.setSize([Math.max(saved?.[0] || node.size[0], 620), Math.max(saved?.[1] || node.size[1], minimum[1])]);
|
||||
};
|
||||
for (const number of (1, 2, 3)) find(`subject_${number}_from`)?.callback;
|
||||
for (const number of [1, 2, 3]) find(`subject_${number}_from`)?.callback;
|
||||
const fromCallback = {};
|
||||
for (const number of (1, 2, 3)) {
|
||||
for (const number of [1, 2, 3]) {
|
||||
const from = find(`subject_${number}_from`);
|
||||
if (!from) continue;
|
||||
fromCallback[number] = from.callback;
|
||||
|
||||
Reference in New Issue
Block a user