|
@@ -914,7 +914,7 @@ NSNotificationName const CPDFListViewDisplayModeChangeNotification = @"CPDFListV
|
|
|
CFRelease(frameRef);
|
|
|
CFRelease(framesetter);
|
|
|
[NSGraphicsContext restoreGraphicsState];
|
|
|
- CGContextRestoreGState(context);
|
|
|
+ CGContextRestoreGState(context);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1178,6 +1178,7 @@ NSNotificationName const CPDFListViewDisplayModeChangeNotification = @"CPDFListV
|
|
|
}
|
|
|
[page addAnnotation:annotation];
|
|
|
[self setNeedsDisplayAnnotation:annotation];
|
|
|
+ [self updateHighLightAnnotation:annotation];
|
|
|
[[self undoManager] setActionName:NSLocalizedString(@"Add Note", @"Undo action name")];
|
|
|
|
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|