From e22f03a0e99a6279726ead5b1934d655ec0b45fb Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Mon, 15 Sep 2025 08:03:22 +1000 Subject: [PATCH] nit --- src/scripts/app.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/scripts/app.ts b/src/scripts/app.ts index 7678d84c1..48c42cb4e 100644 --- a/src/scripts/app.ts +++ b/src/scripts/app.ts @@ -636,12 +636,10 @@ export class ComfyApp { this.editor_alpha = 0.4 } - let bgColor: string | undefined + let bgColor = old_bgcolor if (node.mode === LGraphEventMode.BYPASS) { bgColor = app.bypassBgColor this.editor_alpha = 0.2 - } else { - bgColor = old_bgcolor } const adjustments: ColorAdjustOptions = {}