mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
LibGfx+Userland: Make TextAttributes::underline_style optional
Rather than having a style AND a field saying whether to use the style, just make the style Optional.
This commit is contained in:
parent
609b616085
commit
6d8f046fd0
10 changed files with 16 additions and 19 deletions
|
@ -29,7 +29,6 @@ void CellSyntaxHighlighter::rehighlight(Palette const& palette)
|
|||
palette.syntax_keyword(),
|
||||
Optional<Color> {},
|
||||
false,
|
||||
false,
|
||||
},
|
||||
(u64)-1,
|
||||
false);
|
||||
|
@ -47,7 +46,6 @@ void CellSyntaxHighlighter::rehighlight(Palette const& palette)
|
|||
Color::Black,
|
||||
Color::Red,
|
||||
false,
|
||||
false,
|
||||
},
|
||||
(u64)-1,
|
||||
false });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue