From 6ec4e57a2c589b79ae11b43b74d53bb3811bfaf8 Mon Sep 17 00:00:00 2001 From: drozbay <17261091+drozbay@users.noreply.github.com> Date: Sun, 5 Jul 2026 18:15:37 -0600 Subject: [PATCH] Change background_color to bg_color --- comfy_extras/nodes_text_overlay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comfy_extras/nodes_text_overlay.py b/comfy_extras/nodes_text_overlay.py index fad4e050c..9fb1bbf59 100644 --- a/comfy_extras/nodes_text_overlay.py +++ b/comfy_extras/nodes_text_overlay.py @@ -29,7 +29,7 @@ class TextOverlay(IO.ComfyNode): options=[ IO.DynamicCombo.Option("disabled", []), IO.DynamicCombo.Option("enabled", [ - IO.Color.Input("background_color", default="#00000080", tooltip="Color of the banner drawn behind the text. The color's opacity controls the banner transparency."), + IO.Color.Input("bg_color", default="#00000080", tooltip="Color of the banner drawn behind the text. The color's opacity controls the banner transparency."), ]), ], ), @@ -49,7 +49,7 @@ class TextOverlay(IO.ComfyNode): # The background banner opacity is set by the color's alpha channel, 50% by default if background["background"] == "enabled": - background_rgba = cls.parse_color_to_rgba(background["background_color"]) + background_rgba = cls.parse_color_to_rgba(background["bg_color"]) else: background_rgba = (0, 0, 0, 0)