Revision: 14318
          http://sourceforge.net/p/skim-app/code/14318
Author:   hofman
Date:     2024-06-08 22:00:36 +0000 (Sat, 08 Jun 2024)
Log Message:
-----------
don't initially set snapshot thumbnails for snapshots opened from setups as 
there can be manny

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2024-06-08 21:53:36 UTC (rev 14317)
+++ trunk/SKMainWindowController.m      2024-06-08 22:00:36 UTC (rev 14318)
@@ -2326,7 +2326,7 @@
     NSImage *image;
     BOOL isVisible = [self rightSidePaneIsOpen] && [self rightSidePaneState] 
== SKSidePaneStateSnapshot;
     
-    if (isVisible || openType == SKSnapshotOpenFromSetup)
+    if (isVisible && openType == SKSnapshotOpenNormal)
         image = [[controller currentConfiguration] 
thumbnailWithSize:snapshotCacheSize scale:[[self window] backingScaleFactor]];
     else
         image = [controller placeholderThumbnailWithSize:snapshotCacheSize 
scale:[[self window] backingScaleFactor]];

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