|
@@ -76,7 +76,9 @@ class KMPDFThumbnailItem: NSCollectionViewItem {
|
|
|
didSet {
|
|
|
if self.annotationShowState == .hidden {
|
|
|
for annotation in self.page.annotations {
|
|
|
- annotation.setHidden(true)
|
|
|
+ if annotation.annotationShouldDisplay() == false {
|
|
|
+ annotation.setHidden(true)
|
|
|
+ }
|
|
|
}
|
|
|
} else {
|
|
|
for annotation in self.page.annotations {
|