Revert "fix #46"

This commit is contained in:
VALADI K JAGANATHAN
2023-12-08 18:01:19 +05:30
committed by GitHub
parent 666a25de9a
commit 173778371b
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.comfyClass]) {
if (NODE_WIDGET_MAP[node.getTitle()]) {
node.setSize([SPECIFIC_WIDTH, node.size[1]]);
}
}