ソースを参照

【综合】多余注释代码移除

wanjun 1 年間 前
コミット
77ff73aa95

+ 0 - 11
PDF Office/PDF Master/Class/PDFWindowController/Side/RightSide/KMRightSideViewController.swift

@@ -102,17 +102,6 @@ class KMRightSideViewController: NSViewController,CipherTextViewDelegate {
             self.annotationProperties.isEmptyAnnotation = self.isHidden
         } else {
             var isShowEmpty = self.isHidden;
-//            for annotation in activeAnnotations {
-//                if (annotation is CPDFSignatureAnnotation) || (annotation is CPDFStampAnnotation) {
-//                    if (annotation is CPDFStampAnnotation) {
-//                        if (annotation is CSelfSignAnnotation) {
-//                            break
-//                        }
-//                    }
-//                    isShowEmpty = true;
-//                    break
-//                }
-//            }
             if annotationType == .link && activeAnnotations.count == 0 {
                 self.isHidden = true
             } else if (annotationType == .stamp || annotationType == .signSignature) && isShowEmpty {