Revision: 14810
          http://sourceforge.net/p/skim-app/code/14810
Author:   hofman
Date:     2024-12-10 15:11:58 +0000 (Tue, 10 Dec 2024)
Log Message:
-----------
no need for cover method

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2024-12-10 10:32:36 UTC (rev 14809)
+++ trunk/SKMainWindowController.m      2024-12-10 15:11:58 UTC (rev 14810)
@@ -2100,7 +2100,7 @@
         for (SKSnapshotWindowController *wc in snapshots) {
             if ([wc isPageVisible:page]) {
                 [self snapshotNeedsUpdate:wc placeholder:NO];
-                [wc redisplay];
+                [[wc pdfView] requiresDisplay];
             }
         }
         if (displayChanged)

Modified: trunk/SKSnapshotWindowController.h
===================================================================
--- trunk/SKSnapshotWindowController.h  2024-12-10 10:32:36 UTC (rev 14809)
+++ trunk/SKSnapshotWindowController.h  2024-12-10 15:11:58 UTC (rev 14810)
@@ -85,8 +85,6 @@
 
 - (BOOL)isPageVisible:(PDFPage *)page;
 
-- (void)redisplay;
-
 - (void)updatePageLabel;
 
 - (NSImage *)placeholderThumbnailWithSize:(CGFloat)size scale:(CGFloat)scale;

Modified: trunk/SKSnapshotWindowController.m
===================================================================
--- trunk/SKSnapshotWindowController.m  2024-12-10 10:32:36 UTC (rev 14809)
+++ trunk/SKSnapshotWindowController.m  2024-12-10 15:11:58 UTC (rev 14810)
@@ -130,10 +130,6 @@
     return [displayName stringByAppendingEmDashAndString:[NSString 
stringWithFormat:NSLocalizedString(@"Page %@", @""), [self pageLabel]]];
 }
 
-- (void)redisplay {
-    [pdfView requiresDisplay];
-}
-
 - (void)updateString {
     NSMutableString *mutableString = [NSMutableString string];
     NSRect rect = [pdfView visibleContentRect];

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