label-pango: Don't draw a black box around rich text when the background is default

This commit is contained in:
nerdopolis 2024-08-07 00:12:13 -04:00
parent 4d9e442a6c
commit 1be72c0eab

View file

@ -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,