|
@@ -323,10 +323,6 @@ extension KMNoteTableViewCell {
|
|
self.isFold = !(model?.isExpand ?? false)
|
|
self.isFold = !(model?.isExpand ?? false)
|
|
self.contentViewHidden(false)
|
|
self.contentViewHidden(false)
|
|
} else if data.isKind(of: CPDFLineAnnotation.self) || noteType == SKNSquareString || noteType == SKNCircleString { // || noteType == SKNInkString
|
|
} else if data.isKind(of: CPDFLineAnnotation.self) || noteType == SKNSquareString || noteType == SKNCircleString { // || noteType == SKNInkString
|
|
- noteString = data.contents ?? ""
|
|
|
|
- if let anno = data as? CPDFLineAnnotation, anno.isMeasure {
|
|
|
|
- noteString = anno.string() ?? ""
|
|
|
|
- }
|
|
|
|
self.annotationContentLabel.stringValue = noteString
|
|
self.annotationContentLabel.stringValue = noteString
|
|
self.isFold = true
|
|
self.isFold = true
|
|
let expand = model?.isExpand ?? false
|
|
let expand = model?.isExpand ?? false
|
|
@@ -434,8 +430,6 @@ extension KMNoteTableViewCell {
|
|
} else {
|
|
} else {
|
|
self.foldButton.image = NSImage(named: "KMImageNameBtnTriRightNor")
|
|
self.foldButton.image = NSImage(named: "KMImageNameBtnTriRightNor")
|
|
}
|
|
}
|
|
-
|
|
|
|
- noteString = data.contents ?? ""
|
|
|
|
self.annotationContentLabel.stringValue = noteString
|
|
self.annotationContentLabel.stringValue = noteString
|
|
self.contentViewHidden(false)
|
|
self.contentViewHidden(false)
|
|
} else if data is CPDFFreeTextAnnotation {
|
|
} else if data is CPDFFreeTextAnnotation {
|