readerhighlight: don't try to write page bookmarks into PDF (#15097)
This commit is contained in:
1 parent
0f8f24b79b
commit
5ffbeb52d8
1 file changed
+1
-1
@@ -2259,7 +2259,7 @@ function ReaderHighlight:saveHighlight(extend_to_sentence)
|
||||
end
|
||||
|
||||
function ReaderHighlight:writePdfAnnotation(action, item, content)
|
||||
if self.ui.rolling or not self.highlight_write_into_pdf then
|
||||
if not (self.document.is_pdf and self.highlight_write_into_pdf and item.drawer) then
|
||||
return
|
||||
end
|
||||
logger.dbg("write to pdf document", action, item)
|
||||
|
||||
Reference in new issue
Block a user