Browse Source

【fix】【注释列表】注释列表后的页码有点跑版,且有点拥挤

tangchao 6 tháng trước cách đây
mục cha
commit
06045920a5

+ 2 - 0
PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/Annotation/View/KMNoteTableViewCell.swift

@@ -283,6 +283,7 @@ extension KMNoteTableViewCell {
                 noteString = data.contents ?? ""
                 self.annotationContentLabel.stringValue = noteString
                 
+                self.isFold = isFold
                 if (noteString.isEmpty == false) {
                     self.contentViewHidden(false)
                 } else {
@@ -366,6 +367,7 @@ extension KMNoteTableViewCell {
             } else {
                 self.annotationContentLabel.stringValue = noteString
                 self.imageViewHeightConstraint.constant = self.contentView.frame.size.height
+                self.isFold = isFold
                 if (noteString.isEmpty == false) {
                     self.contentViewHidden(false)
                 } else {