Annotations: fixes (#11761)

This commit is contained in:
hius07
2024-05-07 19:54:57 +03:00
committed by GitHub
parent c47d3b3177
commit 725df17c45
4 changed files with 8 additions and 9 deletions

View File

@@ -222,7 +222,7 @@ function ReaderView:paintTo(bb, x, y)
self.arrow:paintTo(bb, 0, self.dim_area.y == 0 and self.dim_area.h - center_offset or self.dim_area.y - center_offset)
elseif self.page_overlap_style == "line" then
bb:paintRect(0, self.dim_area.y == 0 and self.dim_area.h or self.dim_area.y,
self.dim_area.w, Size.line.medium, Blitbuffer.COLOR_BLACK)
self.dim_area.w, Size.line.medium, Blitbuffer.COLOR_DARK_GRAY)
end
end
-- draw saved highlight