Update seedcontrol.js

This commit is contained in:
VALADI K JAGANATHAN
2023-12-13 19:10:00 +05:30
committed by GitHub
parent 97f3c47885
commit 20486753d7

View File

@@ -18,7 +18,7 @@ const NODE_WIDGET_MAP = {
const SPECIFIC_WIDTH = 325; // Set to desired width
function setNodeWidthForMappedTitles(node) {
if (NODE_WIDGET_MAP[node.getTitle()]) {
if (NODE_WIDGET_MAP[node.comfyClass]) {
node.setSize([SPECIFIC_WIDTH, node.size[1]]);
}
}