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:
parent
4c15b892ff
commit
c59eef0e0f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user