Skip to content

Commit

Permalink
Update seedcontrol.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jags111 committed Dec 13, 2023
1 parent 97f3c47 commit 2048675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/seedcontrol.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]]);
}
}
Expand Down

0 comments on commit 2048675

Please sign in to comment.