|
@@ -807,10 +807,9 @@ extension KMLeftSideViewController {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
for annotation in annos {
|
|
for annotation in annos {
|
|
- // if annotation.isKind(of: KMTableAnnotation.self) {
|
|
|
|
- // annos.removeObject(annotation)
|
|
|
|
- // } else
|
|
|
|
- if annotation.annotationShouldDisplay() == false {
|
|
|
|
|
|
+ if annotation.isKind(of: KMTableAnnotation.self) {
|
|
|
|
+ annos.removeObject(annotation)
|
|
|
|
+ } else if annotation.annotationShouldDisplay() == false {
|
|
annos.removeObject(annotation)
|
|
annos.removeObject(annotation)
|
|
} else if annotation.isKind(of: CPDFLinkAnnotation.self) {
|
|
} else if annotation.isKind(of: CPDFLinkAnnotation.self) {
|
|
annos.removeObject(annotation)
|
|
annos.removeObject(annotation)
|