2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

readerbookmark: optimize writePdfAnnotation call

This commit is contained in:
hius07 2024-04-12 08:29:48 +03:00 committed by GitHub
parent 4c15b892ff
commit c59eef0e0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1075,7 +1075,7 @@ function ReaderBookmark:setBookmarkNote(item_or_index, is_new_note, new_note)
end end
end end
if annotation.drawer then if annotation.drawer then
self.ui.highlight:writePdfAnnotation("content", annotation.page, annotation, annotation.note) self.ui.highlight:writePdfAnnotation("content", annotation, value)
end end
UIManager:close(self.input) UIManager:close(self.input)
if from_highlight then if from_highlight then