Browse Source

【综合】注释列表删除全部注释需要过滤链接注释

tangchao 10 months ago
parent
commit
148bd76062

+ 3 - 0
PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/KMLeftSideViewController+Note.swift

@@ -464,6 +464,9 @@ extension KMLeftSideViewController {
                         //                        if ([annotation.widgetFieldType isEqualToString:PDFAnnotationWidgetSubtypeSignature]) {
                         //                            continue;
                         //                        }
+                        if anno is CPDFLinkAnnotation {
+                            continue
+                        }
                         annos.append(anno)
                     }
                 }