pdfdocument: rename deleteMarkupAnnotation call to deleteAnnotation (#15672)
* pdfdocument: rename deleteMarkupAnnotation call to deleteAnnotation Follows the koreader-base rename of the subtype-agnostic delete helper (pdf_delete_annot) from deleteMarkupAnnotation to deleteAnnotation. Companion to koreader/koreader-base#2444. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * bump base - mupdf: expose ink annotation support in the FFI layer (koreader/koreader-base#2444) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
ac5cb79b57
commit
b4f8974217
2 files changed
+2
-2
No files matched your search
+1
-1
Submodule base updated: a02d7199da...c4ac246234.
@@ -272,7 +272,7 @@ function PdfDocument:deleteHighlight(pageno, item)
|
||||
local page = self._document:openPage(pageno)
|
||||
local annot = page:getMarkupAnnotation(quadpoints, n)
|
||||
if annot ~= nil then
|
||||
page:deleteMarkupAnnotation(annot)
|
||||
page:deleteAnnotation(annot)
|
||||
self:resetTileCacheValidity()
|
||||
end
|
||||
page:close()
|
||||
|
||||
Reference in new issue
Block a user