瀏覽代碼

【注释】添加便签注释时,鼠标悬浮到便签工具icon上,便签面板就消失了 -- 修复

lizhe 10 月之前
父節點
當前提交
703b532ee9
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      PDF Office/PDF Master/Class/PDFWindowController/PDFListView/CPDFListView.m

+ 4 - 4
PDF Office/PDF Master/Class/PDFWindowController/PDFListView/CPDFListView.m

@@ -1581,10 +1581,10 @@ NSNotificationName const KMPDFViewTableAnnotationDidChangeNotification = @"KMPDF
                 annotation.contents = listEditAnnotationViewController.contentString;
                 [self setNeedsDisplayAnnotation:annotation];
             } else {
-                if([self.activeAnnotations containsObject:annotation]) {
-                    [self.activeAnnotations removeObject:annotation];
-                }
-                [self removeAnnotation:annotation];
+//                if([self.activeAnnotations containsObject:annotation]) {
+//                    [self.activeAnnotations removeObject:annotation];
+//                }
+//                [self removeAnnotation:annotation];
             }
         } else {
             annotation.contents = listEditAnnotationViewController.contentString;