|
@@ -2598,6 +2598,7 @@ static inline CPDFAreaOfInterest CAreaOfInterestForResizeHandle(CRectEdges mask,
|
|
|
originalBounds.size.width = MAX(newBounds.size.width, 30);
|
|
|
originalBounds.size.height = newBounds.size.height;
|
|
|
annotation.bounds = originalBounds;
|
|
|
+ ((CPDFFreeTextAnnotation *)annotation).borderColor = NSColor.blackColor;
|
|
|
} else if (toolbarType == CSToolbarTypeDateText) {
|
|
|
((CPDFFreeTextAnnotation *)annotation).contents = self.customStampTextValue;
|
|
|
((CPDFFreeTextAnnotation *)annotation).customStampAnnotationType = @"dateText";
|
|
@@ -2608,7 +2609,7 @@ static inline CPDFAreaOfInterest CAreaOfInterestForResizeHandle(CRectEdges mask,
|
|
|
originalBounds.size.width = newBounds.size.width + 5;
|
|
|
originalBounds.size.height = newBounds.size.height;
|
|
|
annotation.bounds = originalBounds;
|
|
|
-
|
|
|
+ ((CPDFFreeTextAnnotation *)annotation).borderColor = NSColor.blackColor;
|
|
|
} else if (toolbarType == CSToolbarTypeIdText) {
|
|
|
((CPDFFreeTextAnnotation *)annotation).contents = self.customStampTextValue;
|
|
|
((CPDFFreeTextAnnotation *)annotation).customStampAnnotationType = @"idText";
|
|
@@ -2620,6 +2621,7 @@ static inline CPDFAreaOfInterest CAreaOfInterestForResizeHandle(CRectEdges mask,
|
|
|
originalBounds.size.width = newBounds.size.width + 5;
|
|
|
originalBounds.size.height = newBounds.size.height;
|
|
|
annotation.bounds = originalBounds;
|
|
|
+ ((CPDFFreeTextAnnotation *)annotation).borderColor = NSColor.blackColor;
|
|
|
}
|
|
|
|
|
|
}
|