Allow underlines to have different color than the text
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
7d5425e142
commit
4069db4959
8 changed files with 63 additions and 42 deletions
|
@ -207,7 +207,7 @@ mod tests {
|
|||
"Menlo",
|
||||
12.,
|
||||
Default::default(),
|
||||
false,
|
||||
None,
|
||||
Color::black(),
|
||||
cx.font_cache(),
|
||||
)
|
||||
|
@ -216,7 +216,7 @@ mod tests {
|
|||
"Menlo",
|
||||
12.,
|
||||
*FontProperties::new().weight(Weight::BOLD),
|
||||
false,
|
||||
None,
|
||||
Color::new(255, 0, 0, 255),
|
||||
cx.font_cache(),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue