mirror of
https://github.com/jags111/efficiency-nodes-comfyui.git
synced 2026-03-21 21:22:13 -03:00
Update seedcontrol.js
This commit is contained in:
committed by
GitHub
parent
97f3c47885
commit
20486753d7
@@ -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