|
@@ -325,6 +325,13 @@
|
|
[(CSelfSignAnnotation *)annotation setLineColor:color?:[NSColor clearColor]];
|
|
[(CSelfSignAnnotation *)annotation setLineColor:color?:[NSColor clearColor]];
|
|
} else if ([annotation isKindOfClass:[CPDFRedactAnnotation class]]) {
|
|
} else if ([annotation isKindOfClass:[CPDFRedactAnnotation class]]) {
|
|
[(CPDFRedactAnnotation *)annotation setBorderColor:tColor?:[NSColor blackColor]];
|
|
[(CPDFRedactAnnotation *)annotation setBorderColor:tColor?:[NSColor blackColor]];
|
|
|
|
+ } else if ([annotation isKindOfClass:[CPDFFreeTextAnnotation class]]) {
|
|
|
|
+ if ([color isEqual:NSColor.clearColor]) {
|
|
|
|
+ annotation.color = nil;
|
|
|
|
+ } else {
|
|
|
|
+ annotation.color = color;
|
|
|
|
+ }
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
annotation.color = color;
|
|
annotation.color = color;
|
|
}
|
|
}
|