|
@@ -4246,7 +4246,11 @@ static inline CPDFAreaOfInterest CAreaOfInterestForResizeHandle(CRectEdges mask,
|
|
|
|
|
|
if(![newActiveAnnotation isMovable]) {
|
|
|
if(!isContains) {
|
|
|
- [self updateActiveAnnotations:@[newActiveAnnotation]];
|
|
|
+ if (newActiveAnnotation != nil) {
|
|
|
+ [self updateActiveAnnotations:@[newActiveAnnotation]];
|
|
|
+ } else {
|
|
|
+ [self updateActiveAnnotations:@[]];
|
|
|
+ }
|
|
|
[self setNeedsDisplayAnnotationViewForPage:page];
|
|
|
} else {
|
|
|
// if ([theEvent clickCount] == 2) {
|