mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
cre highlights: draw segments instead of word boxes
It gives a cleaner drawing of multi-lines selected text. Bump base and crengine.
This commit is contained in:
@@ -192,6 +192,10 @@ function ReaderHighlight:onTapPageSavedHighlight(ges)
|
||||
end
|
||||
|
||||
function ReaderHighlight:onTapXPointerSavedHighlight(ges)
|
||||
-- Getting screen boxes is done for each tap on screen (changing pages,
|
||||
-- showing menu...). We might want to cache these boxes per page (and
|
||||
-- clear that cache when page layout change or highlights are added
|
||||
-- or removed).
|
||||
local cur_page
|
||||
-- In scroll mode, we'll need to check for highlights in previous or next
|
||||
-- page too as some parts of them may be displayed
|
||||
|
||||
Reference in New Issue
Block a user