|
@@ -2679,6 +2679,14 @@ extension KMMainViewController {
|
|
func showOrHideNotes() {
|
|
func showOrHideNotes() {
|
|
self.listView.hideNotes = !self.listView.hideNotes
|
|
self.listView.hideNotes = !self.listView.hideNotes
|
|
|
|
|
|
|
|
+ for note in self.listView.notes as? [CPDFAnnotation] ?? [] {
|
|
|
|
+ if note.isForm() {
|
|
|
|
+ note.setAnnotationShouldDisplay(true)
|
|
|
|
+ note.setHidden(false)
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ self.listView.setNeedsDisplayAnnotationViewForVisiblePages()
|
|
|
|
+
|
|
self.toolbarController.isShowAllAnnotations = !self.listView.hideNotes
|
|
self.toolbarController.isShowAllAnnotations = !self.listView.hideNotes
|
|
|
|
|
|
//BOTA 注释列表显示隐藏
|
|
//BOTA 注释列表显示隐藏
|