Browse Source

【注释】便签注释属性面板,便签的样式要默认选中当前样式 修复

lizhe 11 months ago
parent
commit
470a922c8c

+ 2 - 2
PDF Office/PDF Master/Class/PDFWindowController/Side/RightSide/AnnotationProperty/KMGeneralAnnotationViewController.swift

@@ -1068,8 +1068,8 @@ let KMColorPickerViewHeight: CGFloat = 64
 
         iconButtonArray = [commentBox, keyBox, noteBox, helpBox, addParagraphBox, paragraphBox, insertBox]
 
-//        let iconType = annotation.iconType
-//        clickAnnotationTextIconButtonAction(iconType: iconType, boxArr: iconButtonArray)
+        let iconType = UInt((annotationModel?.anchoredIconType().rawValue)!)
+        clickAnnotationTextIconButtonAction(iconType: iconType, boxArr: iconButtonArray)
 
         textColorPickerView.annotationType = .anchoredNoteColors
         textColorPickerView.isCallColorPanelAction = true