mirror of
https://github.com/justUmen/Bjornulf_custom_nodes.git
synced 2026-03-25 14:25:44 -03:00
0.33
This commit is contained in:
@@ -22,16 +22,12 @@ app.registerExtension({
|
||||
})
|
||||
.catch(error => console.error('Error:', error));
|
||||
});
|
||||
|
||||
// Set seed widget to hidden input
|
||||
const seedWidget = node.widgets.find((w) => w.name === "seed");
|
||||
if (seedWidget) {
|
||||
seedWidget.type = "HIDDEN";
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// BASIC BUTTON
|
||||
// app.registerExtension({
|
||||
// name: "Bjornulf.PauseResume",
|
||||
// async nodeCreated(node) {
|
||||
// if (node.comfyClass === "Bjornulf_PauseResume") {
|
||||
// node.addWidget("button","Resume","Resume", (...args) => { console.log("lol"); } )
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
});
|
||||
Reference in New Issue
Block a user