|
@@ -62,11 +62,11 @@ class CPDFListEditAnnotationViewController: NSViewController, NSTextViewDelegate
|
|
|
let box = self.borderBox
|
|
|
if self.annotation.color != nil {
|
|
|
box?.borderColor = self.annotation.color
|
|
|
- self.contentTextView.insertionPointColor = self.annotation.color
|
|
|
} else {
|
|
|
box?.borderColor = NSColor.white
|
|
|
- self.contentTextView.insertionPointColor = NSColor.black
|
|
|
}
|
|
|
+ contentTextView.insertionPointColor = KMAppearance.titleColor()
|
|
|
+
|
|
|
box?.fillColor = KMAppearance.Layout.l1Color()
|
|
|
self.colors.removeAll()
|
|
|
var i = 0
|
|
@@ -179,12 +179,11 @@ class CPDFListEditAnnotationViewController: NSViewController, NSTextViewDelegate
|
|
|
|
|
|
if let annotationColor = annotation.color {
|
|
|
borderBox.borderColor = annotationColor
|
|
|
- contentTextView.insertionPointColor = annotationColor
|
|
|
} else {
|
|
|
borderBox.borderColor = .white
|
|
|
- contentTextView.insertionPointColor = .black
|
|
|
}
|
|
|
-
|
|
|
+ contentTextView.insertionPointColor = KMAppearance.titleColor()
|
|
|
+
|
|
|
if let changeColorCallBack1 = self.changeColorCallBack {
|
|
|
changeColorCallBack1()
|
|
|
}
|