Revision: 15235
          http://sourceforge.net/p/skim-app/code/15235
Author:   hofman
Date:     2025-05-19 09:37:48 +0000 (Mon, 19 May 2025)
Log Message:
-----------
compare page index so we don't needto capture the page

Modified Paths:
--------------
    trunk/SKPresentationView.m

Modified: trunk/SKPresentationView.m
===================================================================
--- trunk/SKPresentationView.m  2025-05-19 09:36:23 UTC (rev 15234)
+++ trunk/SKPresentationView.m  2025-05-19 09:37:48 UTC (rev 15235)
@@ -358,9 +358,8 @@
         return;
     }
     
-    PDFPage *thePage = page;
     dispatch_block_t imageGenerator = [self imageGeneratorForPage:page 
handler:^(NSImage *image){
-        if (thePage == page)
+        if (pageIndex == [page pageIndex])
             [pageLayer setContents:image];
         if (completionHandler)
             completionHandler();

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to