Revision: 13303
          http://sourceforge.net/p/skim-app/code/13303
Author:   hofman
Date:     2023-02-25 16:17:54 +0000 (Sat, 25 Feb 2023)
Log Message:
-----------
revert last commit

Modified Paths:
--------------
    trunk/SKNPDFAnnotationNote_SKExtensions.m
    trunk/SKPDFPage.m

Modified: trunk/SKNPDFAnnotationNote_SKExtensions.m
===================================================================
--- trunk/SKNPDFAnnotationNote_SKExtensions.m   2023-02-25 15:55:54 UTC (rev 
13302)
+++ trunk/SKNPDFAnnotationNote_SKExtensions.m   2023-02-25 16:17:54 UTC (rev 
13303)
@@ -102,6 +102,8 @@
 // override these Leopard methods to avoid showing the standard tool tips over 
our own
 - (NSString *)toolTip { return @""; }
 
+- (PDFAnnotationPopup *)popup { return nil; }
+
 - (BOOL)hasNoteText { return YES; }
 
 - (SKNoteText *)noteText {

Modified: trunk/SKPDFPage.m
===================================================================
--- trunk/SKPDFPage.m   2023-02-25 15:55:54 UTC (rev 13302)
+++ trunk/SKPDFPage.m   2023-02-25 16:17:54 UTC (rev 13303)
@@ -98,11 +98,6 @@
     if (NSContainsRect(foregroundBox, [annotation bounds]) == NO)
         foregroundBox = NSZeroRect;
     [super addAnnotation:annotation];
-    PDFAnnotation *popup = [annotation popup];
-    if (popup && [annotation isSkimNote]) {
-        [super removeAnnotation:popup];
-        [annotation setPopup:nil];
-    }
 }
 
 - (void)removeAnnotation:(PDFAnnotation *)annotation {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to