Browse Source

【注释】双击注释不弹出附注

lizhe 1 year ago
parent
commit
a5ac72ae8f

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

@@ -3045,9 +3045,9 @@ static inline CPDFAreaOfInterest CAreaOfInterestForResizeHandle(CRectEdges mask,
                         } else if ([newActiveAnnotation isKindOfClass:[CPDFTextAnnotation class]]) {
                             [self editAnnotation:newActiveAnnotation];
                         } else if ([theEvent clickCount] == 2) {
-                            if (![newActiveAnnotation isKindOfClass:[CPDFTextAnnotation class]]) {
-                                [self editAnnotation:newActiveAnnotation];
-                            }
+//                            if (![newActiveAnnotation isKindOfClass:[CPDFTextAnnotation class]]) {
+//                                [self editAnnotation:newActiveAnnotation];
+//                            }
                         }
                     }
                     [self setNeedsDisplayAnnotationViewForPage:page];