From b952b2ef0929e4550b46c385a32bc2999e0abbad Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Mon, 15 Sep 2025 08:31:02 +1000 Subject: [PATCH] Revert "nit" This reverts commit e22f03a0e99a6279726ead5b1934d655ec0b45fb. --- src/scripts/app.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = {}