|
@@ -1725,9 +1725,12 @@ let KMColorPickerViewHeight: CGFloat = 64
|
|
|
} else if type == .strikeOut {
|
|
|
KMPreferenceManager.shared.markupStrikthroughColor = textColor.withAlphaComponent(opacity)
|
|
|
} else if type == .squiggly {
|
|
|
-// KMPreferenceManager.shared
|
|
|
UserDefaults.standard.setPDFListViewColor(textColor.withAlphaComponent(opacity), forKey: CSquigglyNoteColorKey)
|
|
|
UserDefaults.standard.synchronize()
|
|
|
+
|
|
|
+ // 发通知
|
|
|
+ let theColor = KMPreferenceManager.shared.markupHighlightColor
|
|
|
+ KMPreferenceManager.shared.markupHighlightColor = theColor
|
|
|
} else if type == .ink {
|
|
|
KMPreferenceManager.shared.markupPenColor = textColor.withAlphaComponent(opacity)
|
|
|
}
|