|
@@ -1316,22 +1316,23 @@ extension KMMainViewController {
|
|
|
default:
|
|
|
break
|
|
|
}
|
|
|
+ self.rightSideViewController.isHidden = false
|
|
|
+ self.rightSideViewController.subViewType = .AnnotationProperts
|
|
|
if annotation != nil{
|
|
|
self.listView.activeAnnotations.removeAllObjects()
|
|
|
// self.listView.activeAnnotations.add(annotation as Any)
|
|
|
var newAnnonations : [CPDFAnnotation] = []
|
|
|
newAnnonations.append(annotation!)
|
|
|
self.listView.updateActiveAnnotations(newAnnonations)
|
|
|
- self.openRightPane()
|
|
|
+// self.openRightPane()
|
|
|
}
|
|
|
// self.rightSideViewController.view.isHidden = false
|
|
|
- self.rightSideViewController.isHidden = false
|
|
|
- self.rightSideViewController.subViewType = .AnnotationProperts
|
|
|
+
|
|
|
}
|
|
|
|
|
|
- if (annotation != nil) {
|
|
|
- self.listView.updateIsRightActiveAnnotations([annotation!])
|
|
|
- }
|
|
|
+// if (annotation != nil) {
|
|
|
+// self.listView.updateIsRightActiveAnnotations([annotation!])
|
|
|
+// }
|
|
|
}
|
|
|
}
|
|
|
|