Browse Source

【fix】【APPCenter】编号:V4.0.2.12

tangchao 9 months ago
parent
commit
bcb6e1059e

+ 5 - 1
PDF Office/PDF Master/Class/PDFWindowController/PDFListView/CPDFListViewExtension/CPDFListView+Event.m

@@ -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) {