mirror of
https://github.com/jags111/efficiency-nodes-comfyui.git
synced 2026-03-25 07:05:44 -03:00
Revert "fix #46"
This commit is contained in:
committed by
GitHub
parent
666a25de9a
commit
173778371b
@@ -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]]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user