bookmark(fix): bookmark comparison for crengine
This commit is contained in:
parent
4a66036eb0
commit
a049eddcbc
1 changed files with 1 additions and 5 deletions
|
|
@ -236,11 +236,7 @@ function ReaderBookmark:onShowBookmark()
|
|||
end
|
||||
|
||||
function ReaderBookmark:isBookmarkMatch(item, pn_or_xp)
|
||||
if self.ui.document.info.has_pages then
|
||||
return item.page == pn_or_xp
|
||||
else
|
||||
return self.ui.document:isXPointerInCurrentPage(item.page)
|
||||
end
|
||||
return item.page == pn_or_xp
|
||||
end
|
||||
|
||||
function ReaderBookmark:getDogearBookmarkIndex(pn_or_xp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue