|
@@ -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 {
|