readerbookmark: optimize writePdfAnnotation call

reviewable/pr11563/r20
hius07 3 weeks ago committed by GitHub
parent 4c15b892ff
commit c59eef0e0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save