mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
readerbookmark: fix writing pdf annotation (#10287)
This commit is contained in:
@@ -1064,7 +1064,9 @@ function ReaderBookmark:setBookmarkNote(item, from_highlight, is_new_note, new_t
|
||||
local bm = self.bookmarks[index]
|
||||
bm.text = value
|
||||
self.ui:handleEvent(Event:new("BookmarkEdited", bm))
|
||||
self.ui.highlight:writePdfAnnotation("content", bookmark.page, bookmark, bookmark.text)
|
||||
if bookmark.highlighted then
|
||||
self.ui.highlight:writePdfAnnotation("content", bookmark.page, bookmark, bookmark.text)
|
||||
end
|
||||
UIManager:close(self.input)
|
||||
if from_highlight then
|
||||
if self.view.highlight.note_mark then
|
||||
|
||||
Reference in New Issue
Block a user