From b4f89742179c2adc13233a722ace437cdae614eb Mon Sep 17 00:00:00 2001 From: Tomas Alabes Date: Fri, 17 Jul 2026 22:58:37 +0200 Subject: [PATCH] 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 * bump base - mupdf: expose ink annotation support in the FFI layer (koreader/koreader-base#2444) Co-Authored-By: Claude Opus 4.8 --- base | 2 +- frontend/document/pdfdocument.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base b/base index a02d7199d..c4ac24623 160000 --- a/base +++ b/base @@ -1 +1 @@ -Subproject commit a02d7199daaa99ec4b78c9f972d718f14275edaa +Subproject commit c4ac246234ff37c823f703a055ed435b05810ad1 diff --git a/frontend/document/pdfdocument.lua b/frontend/document/pdfdocument.lua index 7e20b0df8..62cd04f09 100644 --- a/frontend/document/pdfdocument.lua +++ b/frontend/document/pdfdocument.lua @@ -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()