|
@@ -1007,6 +1007,13 @@ extension KMLeftSideViewController {
|
|
|
|
|
|
self.listView?.updateActiveAnnotations([annotation])
|
|
|
self.listView?.setNeedsDisplayAnnotationViewForVisiblePages()
|
|
|
+ if annotation is CPDFPolygonAnnotation || annotation is CPDFPolylineAnnotation {
|
|
|
+ self.listView?.pdfListViewDelegate.pdfListViewAnnotationMeasureInfoChange?(self.listView, with: annotation)
|
|
|
+ } else if let anno = annotation as? CPDFLineAnnotation {
|
|
|
+ if anno.isMeasure {
|
|
|
+ self.listView?.pdfListViewDelegate.pdfListViewAnnotationMeasureInfoChange?(self.listView, with: annotation)
|
|
|
+ }
|
|
|
+ }
|
|
|
// }
|
|
|
|
|
|
}
|