Revision: 14804
          http://sourceforge.net/p/skim-app/code/14804
Author:   hofman
Date:     2024-12-09 17:10:11 +0000 (Mon, 09 Dec 2024)
Log Message:
-----------
no need for cover method to update annotation

Modified Paths:
--------------
    trunk/SKMainWindowController.m
    trunk/SKSnapshotWindowController.h
    trunk/SKSnapshotWindowController.m

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2024-12-09 17:07:34 UTC (rev 14803)
+++ trunk/SKMainWindowController.m      2024-12-09 17:10:11 UTC (rev 14804)
@@ -2695,7 +2695,7 @@
                 for (SKSnapshotWindowController *wc in snapshots) {
                     if ([wc isPageVisible:[note page]]) {
                         [self snapshotNeedsUpdate:wc placeholder:NO];
-                        [wc updatedAnnotation:note];
+                        [[wc pdfView] updatedAnnotation:note];
                     }
                 }
                 

Modified: trunk/SKSnapshotWindowController.h
===================================================================
--- trunk/SKSnapshotWindowController.h  2024-12-09 17:07:34 UTC (rev 14803)
+++ trunk/SKSnapshotWindowController.h  2024-12-09 17:10:11 UTC (rev 14804)
@@ -104,8 +104,6 @@
 - (void)handleDidRemoveAnnotationNotification:(NSNotification *)notification;
 - (void)handleDidMoveAnnotationNotification:(NSNotification *)notification;
 
-- (void)updatedAnnotation:(PDFAnnotation *)annotation;
-
 @end
 
 

Modified: trunk/SKSnapshotWindowController.m
===================================================================
--- trunk/SKSnapshotWindowController.m  2024-12-09 17:07:34 UTC (rev 14803)
+++ trunk/SKSnapshotWindowController.m  2024-12-09 17:10:11 UTC (rev 14804)
@@ -130,10 +130,6 @@
     return [displayName stringByAppendingEmDashAndString:[NSString 
stringWithFormat:NSLocalizedString(@"Page %@", @""), [self pageLabel]]];
 }
 
-- (void)updatedAnnotation:(PDFAnnotation *)annotation {
-    [pdfView updatedAnnotation:annotation];
-}
-
 - (void)redisplay {
     [pdfView requiresDisplay];
 }

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