ReaderLink:isXpointerCoherent(): fix check in some edge cases

This commit is contained in:
poire-z committed 2026-08-07 21:50:15 +02:00
1 parent a72790090c
commit 8ae5f9f79e
2 files changed
+6 -4

No files matched your search

+2 -2
View File
@@ -949,8 +949,8 @@ function CreDocument:getPageLinks(internal_links_only)
return self._document:getPageLinks(internal_links_only)
end
function CreDocument:getLinkFromPosition(pos)
return self._document:getLinkFromPosition(pos.x, pos.y)
function CreDocument:getLinkFromPosition(pos, with_forTextSelection)
return self._document:getLinkFromPosition(pos.x, pos.y, with_forTextSelection)
end
function CreDocument:isLinkToFootnote(source_xpointer, target_xpointer, flags, max_text_size)