|
@@ -811,7 +811,7 @@ NSNotificationName const CPDFListViewAnnotationsAttributeHasChangeNotification =
|
|
|
|
|
|
- (void)removeAnnotation:(CPDFAnnotation *)annotation {
|
|
|
if ([annotation isKindOfClass:[CPDFTextAnnotation class]] && self.popOver.isShown) {
|
|
|
- if (annotation.contents.length <= 0) {
|
|
|
+// if (annotation.contents.length <= 0) {
|
|
|
CPDFAnnotation *wasAnnotation = annotation;
|
|
|
CPDFPage *page = wasAnnotation.page;
|
|
|
|
|
@@ -828,7 +828,7 @@ NSNotificationName const CPDFListViewAnnotationsAttributeHasChangeNotification =
|
|
|
|
|
|
if([self.pdfListViewDelegate respondsToSelector:@selector(PDFListViewRemoveAnnotations:forRemoveAnnotations:inPage:)])
|
|
|
[self.pdfListViewDelegate PDFListViewRemoveAnnotations:self forRemoveAnnotations:@[annotation] inPage:page];
|
|
|
- }
|
|
|
+// }
|
|
|
} else {
|
|
|
CPDFAnnotation *wasAnnotation = annotation;
|
|
|
CPDFPage *page = wasAnnotation.page;
|