|
@@ -400,8 +400,12 @@ NSNotificationName const CPDFListViewDisplayModeChangeNotification = @"CPDFListV
|
|
|
}
|
|
|
|
|
|
- (void)setPageBackgroundColorWithColor:(NSColor *)color viewMode:(KMPDFViewMode)viewMode {
|
|
|
- if (self.activeAnnotation != nil) {
|
|
|
- return;
|
|
|
+ if ([self.isCustomStampType isEqualToString: @"1"]) {
|
|
|
+
|
|
|
+ } else {
|
|
|
+ if (self.activeAnnotation != nil) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
}
|
|
|
_viewMode = viewMode;
|
|
|
if (viewMode == KMPDFViewModeNormal) {
|
|
@@ -928,6 +932,10 @@ NSNotificationName const CPDFListViewDisplayModeChangeNotification = @"CPDFListV
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+- (void)clearStampCursor {
|
|
|
+ [NSCursor clearStampCursor];
|
|
|
+}
|
|
|
+
|
|
|
- (void)setAddStampObject:(CStampSignatureObject *)stampObject keepToolModel:(BOOL)isToolModel {
|
|
|
if (CAnnotationTypeStamp == self.annotationType ||
|
|
|
CAnnotationTypeSignSignature == self.annotationType) {
|