This commit is contained in:
karrycharon
2023-12-04 20:46:29 +08:00
parent 659d9623a7
commit c98e4d1a59
3 changed files with 6 additions and 6 deletions

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]]);
}
}