Kaynağa Gözat

【左边栏】- BOTA:注释列表Ink,图章注释预览图展示

liaoxiaoyue 1 yıl önce
ebeveyn
işleme
d845ffcd83

+ 1 - 1
PDF Office/PDF Office/Class/PDFWindowController/Side/LeftSide/Annotation/View/KMAnnotationTableCellView.swift

@@ -107,7 +107,7 @@ class KMAnnotationTableCellView: NSTableCellView {
                     (annotation.isKind(of: CPDFLineAnnotation.self)) ||
                     (annotation.isKind(of: CPDFCircleAnnotation.self)) {
             contentInfoImg.isHidden = false
-            contentInfoImg.image = NSImage(named:"KMImageNameNewTipSelected")
+            contentInfoImg.image = CPDFAnnotationModel(pdfAnnotations: [annotation]).annotationImage
         }
         
         if annotation.contents != nil && annotation.contents != "" {