mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 06:08:00 +02:00
label-pango: Don't draw a black box around rich text when the background is default
This commit is contained in:
parent
4d9e442a6c
commit
1be72c0eab
1 changed files with 0 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue