From: nerdopolis Date: Wed, 7 Aug 2024 04:12:13 +0000 (-0400) Subject: label-pango: Don't draw a black box around rich text when the background is default X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1be72c0eabfbc7b701715bc0dcf853b77b5e6e26;p=thirdparty%2Fplymouth.git label-pango: Don't draw a black box around rich text when the background is default --- 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,