Allow setting text background color via TextStyle
This commit is contained in:
parent
1ad22231d2
commit
7eeb8078f6
4 changed files with 23 additions and 2 deletions
|
@ -9410,6 +9410,7 @@ impl Render for Editor {
|
|||
font_weight: FontWeight::NORMAL,
|
||||
font_style: FontStyle::Normal,
|
||||
line_height: relative(1.).into(),
|
||||
background_color: None,
|
||||
underline: None,
|
||||
white_space: WhiteSpace::Normal,
|
||||
},
|
||||
|
@ -9424,6 +9425,7 @@ impl Render for Editor {
|
|||
font_weight: FontWeight::NORMAL,
|
||||
font_style: FontStyle::Normal,
|
||||
line_height: relative(settings.buffer_line_height.value()),
|
||||
background_color: None,
|
||||
underline: None,
|
||||
white_space: WhiteSpace::Normal,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue