Reduce minimum underline thickness from 2px to 1px
This commit is contained in:
parent
6d920635d8
commit
555e1aeee5
1 changed files with 1 additions and 1 deletions
|
|
@ -434,7 +434,7 @@ where
|
|||
}
|
||||
|
||||
if !metadata.flags.is_empty() {
|
||||
let style_line_height = (self.glyph_font_size / 10.0).clamp(2.0, 16.0);
|
||||
let style_line_height = (self.glyph_font_size / 10.0).clamp(1.0, 16.0);
|
||||
|
||||
let line_color = cosmic_text_to_iced_color(metadata.underline_color);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue