ReaderView: increase underline thickness (#11586)

Closes #11581.
reviewable/pr11608/r1
SomeGuy 1 month ago committed by GitHub
parent 501cba6ebe
commit fbd3e822fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -632,7 +632,7 @@ function ReaderView:drawHighlightRect(bb, _x, _y, rect, drawer, draw_note_mark)
if drawer == "lighten" then
bb:lightenRect(x, y, w, h, self.highlight.lighten_factor)
elseif drawer == "underscore" then
bb:paintRect(x, y + h - 1, w, Size.line.medium, Blitbuffer.COLOR_GRAY)
bb:paintRect(x, y + h - 1, w, Size.line.thick, Blitbuffer.COLOR_GRAY_4)
elseif drawer == "strikeout" then
local line_y = y + math.floor(h / 2) + 1
if self.ui.paging then

Loading…
Cancel
Save