Update readerview.lua

reviewable/pr11586/r3
SomeGuy 2 months ago committed by GitHub
parent 4473c615c8
commit 442716d12a
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 - math.floor(h / 16), w, math.floor(h / 8), Blitbuffer.COLOR_GRAY_4)
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