mirror of
https://github.com/akiyosi/goneovim.git
synced 2025-06-20 16:15:46 +02:00
Minor fixes for text underline thickness
This commit is contained in:
parent
23fa98a2cc
commit
0f0fa1d7a3
2 changed files with 2 additions and 1 deletions
1
Untitled
Normal file
1
Untitled
Normal file
|
@ -0,0 +1 @@
|
|||
asdfasdfasdf
|
|
@ -3062,7 +3062,7 @@ func drawUnderline(p *gui.QPainter, font *Font, color *gui.QColor, row int, star
|
|||
}
|
||||
descent := float64(font.height) - font.ascent
|
||||
|
||||
weight := int(math.Ceil(float64(font.height) / 16.0))
|
||||
weight := int(math.Ceil(float64(font.height) / 18.0))
|
||||
if weight < 1 {
|
||||
weight = 1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue