|
@@ -78,7 +78,10 @@
|
|
|
- (NSSet *)keysForValuesToObserveForUndo {
|
|
|
NSMutableSet *mutableKeys = [NSMutableSet set];
|
|
|
if ([self isKindOfClass:[CSelfSignAnnotation class]]) {
|
|
|
- [mutableKeys addObject:@"annotationType"];
|
|
|
+ [mutableKeys addObject:CPDFSelfSignTypeKey];
|
|
|
+ [mutableKeys addObject:CPDFSelfSignLineColorKey];
|
|
|
+ [mutableKeys addObject:CPDFSelfSignLineOpacityKey];
|
|
|
+ [mutableKeys addObject:CPDFSelfSignLineAnnotationWidthKey];
|
|
|
} else {
|
|
|
mutableKeys = [[super keysForValuesToObserveForUndo] mutableCopy];
|
|
|
}
|