mirror of
https://github.com/jags111/efficiency-nodes-comfyui.git
synced 2026-03-25 23:25:44 -03:00
fix #46
This commit is contained in:
@@ -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]]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user