|
@@ -689,17 +689,19 @@ extension KMLeftSideViewController {
|
|
}
|
|
}
|
|
|
|
|
|
public func refreshUIForAnnoAttributeDidChange(_ anno: CPDFAnnotation?, attributes: [String : Any]?) {
|
|
public func refreshUIForAnnoAttributeDidChange(_ anno: CPDFAnnotation?, attributes: [String : Any]?) {
|
|
|
|
+ self.updateThumbnail(at: Int(anno?.page?.pageIndex() ?? 0))
|
|
let need = self._annoList_needRefreshUI(annos: anno != nil ? [anno!] : [])
|
|
let need = self._annoList_needRefreshUI(annos: anno != nil ? [anno!] : [])
|
|
if need == false {
|
|
if need == false {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- self.updateThumbnail(at: Int(anno?.page?.pageIndex() ?? 0))
|
|
|
|
if let data = anno {
|
|
if let data = anno {
|
|
self.note_reloadDataForAnnoIfNeed(anno: data)
|
|
self.note_reloadDataForAnnoIfNeed(anno: data)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
public func annoList_refreshUIForDeleteAnnotations(annos: [CPDFAnnotation]?, page: CPDFPage?) {
|
|
public func annoList_refreshUIForDeleteAnnotations(annos: [CPDFAnnotation]?, page: CPDFPage?) {
|
|
|
|
+ self.updateThumbnail(at: Int(page?.pageIndex() ?? 0))
|
|
|
|
+
|
|
if self.type.methodType != .Annotation {
|
|
if self.type.methodType != .Annotation {
|
|
return
|
|
return
|
|
}
|
|
}
|