图层支持视频合成(多image

This commit is contained in:
shadowcz007
2023-12-23 17:06:04 +08:00
parent ff961155c9
commit 5df9fbf50d
2 changed files with 58 additions and 44 deletions
+6 -2
View File
@@ -1800,11 +1800,15 @@ const updateUI = node => {
pw.inputEl.title = `Total of ${prompts.length} prompts`
} else {
// 动态添加
console.log('ComfyWidgets',ComfyWidgets.STRING(
node,
'prompts',
['STRING', { multiline: true }]
))
const w = ComfyWidgets.STRING(
node,
'prompts',
['STRING', { multiline: true }],
app
['STRING', { multiline: true }]
).widget
w.inputEl.readOnly = true
w.inputEl.style.opacity = 0.6