From 1be72c0eabfbc7b701715bc0dcf853b77b5e6e26 Mon Sep 17 00:00:00 2001 From: nerdopolis Date: Wed, 7 Aug 2024 00:12:13 -0400 Subject: [PATCH] label-pango: Don't draw a black box around rich text when the background is default --- src/plugins/controls/label-pango/plugin.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/plugins/controls/label-pango/plugin.c b/src/plugins/controls/label-pango/plugin.c index 1ff898ef..61704fdf 100644 --- a/src/plugins/controls/label-pango/plugin.c +++ b/src/plugins/controls/label-pango/plugin.c @@ -551,10 +551,6 @@ set_rich_text_for_control (ply_label_plugin_control_t *label, } } - /* Default to a black background when none is set so bright text is readable on bright backgrounds */ - if (background_color == PLY_TERMINAL_COLOR_DEFAULT) - background_color = PLY_TERMINAL_COLOR_BLACK; - look_up_rgb_color_from_terminal_color (foreground_color, &foreground_red, &foreground_green,