|
@@ -433,7 +433,9 @@ let KMColorPickerViewHeight: CGFloat = 64
|
|
|
} else {
|
|
|
annotationColor = annotationModel?.color()
|
|
|
}
|
|
|
- guard let color = annotationColor else { return }
|
|
|
+
|
|
|
+ let color = annotationColor ?? NSColor.black
|
|
|
+// guard let color = annotationColor else { return }
|
|
|
var opacity: CGFloat = 1.0
|
|
|
color.usingColorSpaceName(.calibratedRGB)?.getRed(nil, green: nil, blue: nil, alpha: &opacity)
|
|
|
if annotationType == .signFalse ||
|