|
@@ -55,6 +55,9 @@ static inline CPDFAreaOfInterest CAreaOfInterestForResizeHandle(CRectEdges mask,
|
|
|
if ([self isEditWithCurrentFreeText:(CPDFFreeTextAnnotation *)self.activeAnnotation]) {
|
|
|
CRectEdges resizeHandle = [self.activeAnnotation resizeHandleForPoint:point scaleFactor:[self scaleFactor]];
|
|
|
if (isCustomStampPDFView == NO) {
|
|
|
+ if (self.activeAnnotation.contents.length == 0) {
|
|
|
+ [self removeAnnotation:self.activeAnnotation];
|
|
|
+ }
|
|
|
if (CNoEdgeMask == resizeHandle) {
|
|
|
[super mouseDown:theEvent];
|
|
|
[self updateActiveAnnotations:@[]];
|