Allow setting text background color via TextStyle

This commit is contained in:
Antonio Scandurra 2023-11-23 19:22:18 +01:00
parent 1ad22231d2
commit 7eeb8078f6
4 changed files with 23 additions and 2 deletions

View file

@ -2452,7 +2452,7 @@ impl LineWithInvisibles {
len: line_chunk.len(),
font: text_style.font(),
color: text_style.color,
background_color: None,
background_color: text_style.background_color,
underline: text_style.underline,
});