diff --git a/src/scripts/app.ts b/src/scripts/app.ts index 48c42cb4e..7678d84c1 100644 --- a/src/scripts/app.ts +++ b/src/scripts/app.ts @@ -636,10 +636,12 @@ export class ComfyApp { this.editor_alpha = 0.4 } - let bgColor = old_bgcolor + let bgColor: string | undefined if (node.mode === LGraphEventMode.BYPASS) { bgColor = app.bypassBgColor this.editor_alpha = 0.2 + } else { + bgColor = old_bgcolor } const adjustments: ColorAdjustOptions = {}