mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
don't clip page images when text is available
This commit is contained in:
@@ -233,7 +233,7 @@ function MyClipping:parseHighlight(highlights, book)
|
||||
clipping.sort = "highlight"
|
||||
clipping.time = self:getTime(item.datetime or "")
|
||||
clipping.text = self:getText(item.text)
|
||||
if item.pos0 and item.pos1 and
|
||||
if item.text == "" and item.pos0 and item.pos1 and
|
||||
item.pos0.x and item.pos0.y and
|
||||
item.pos1.x and item.pos1.y then
|
||||
-- highlights in reflowing mode don't have page in pos
|
||||
|
||||
Reference in New Issue
Block a user