mirror of
https://github.com/jags111/efficiency-nodes-comfyui.git
synced 2026-03-25 15:15:45 -03:00
Revert "fix #46"
This commit is contained in:
committed by
GitHub
parent
666a25de9a
commit
173778371b
@@ -77,9 +77,9 @@ const ext = {
|
||||
name: "efficiency.appearance",
|
||||
|
||||
nodeCreated(node) {
|
||||
const nclass = node.comfyClass;
|
||||
if (NODE_COLORS.hasOwnProperty(nclass)) {
|
||||
let colorKey = NODE_COLORS[nclass];
|
||||
const title = node.getTitle();
|
||||
if (NODE_COLORS.hasOwnProperty(title)) {
|
||||
let colorKey = NODE_COLORS[title];
|
||||
|
||||
if (colorKey === "random") {
|
||||
// Check for a valid color key before popping
|
||||
|
||||
Reference in New Issue
Block a user