|
@@ -1716,6 +1716,9 @@ let KMColorPickerViewHeight: CGFloat = 64
|
|
|
opacity = annotationModel?.opacity() ?? 1
|
|
|
// annotationModel?.setOpacity(opacity)
|
|
|
annotationModel?.setColor(textColor)
|
|
|
+ if (annotationType == .highlight) {
|
|
|
+ pdfView?.updateHighLightAnnotation(annotationModel?.annotation)
|
|
|
+ }
|
|
|
if let model = self.annotationModel {
|
|
|
if (model.annotation == nil || CPDFListViewConfig.defaultManager.isSaveDefault) && self.isannotationMode {
|
|
|
if self.annotationType.isMarkup() {
|
|
@@ -1856,6 +1859,9 @@ let KMColorPickerViewHeight: CGFloat = 64
|
|
|
} else {
|
|
|
annotationModel?.setOpacity(opcity)
|
|
|
}
|
|
|
+ if (annotationType == .highlight) {
|
|
|
+ pdfView?.updateHighLightAnnotation(annotationModel?.annotation)
|
|
|
+ }
|
|
|
opacityComboBox.stringValue = "\(Int(opcity * 100))%"
|
|
|
updateAnnotation(.opacity)
|
|
|
|