|
@@ -1080,7 +1080,7 @@ let KMColorPickerViewHeight: CGFloat = 64
|
|
|
if let data = newValue?.isEqual(to: oldValue), data {
|
|
|
return
|
|
|
}
|
|
|
- if keyPath == "string" {
|
|
|
+ if keyPath == "string" || keyPath == "contents"{
|
|
|
if newValue == nil || newValue is NSNull {
|
|
|
return
|
|
|
}
|