Revision: 13486
          http://sourceforge.net/p/skim-app/code/13486
Author:   hofman
Date:     2023-06-16 15:10:22 +0000 (Fri, 16 Jun 2023)
Log Message:
-----------
only set marked when needed

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2023-06-16 13:51:07 UTC (rev 13485)
+++ trunk/SKMainWindowController.m      2023-06-16 15:10:22 UTC (rev 13486)
@@ -1857,7 +1857,8 @@
     NSUInteger i = [indexPath item];
     [item setRepresentedObject:[[self thumbnails] objectAtIndex:i]];
     [item setHighlightLevel:[self thumbnailHighlightLevelForRow:i]];
-    [item setMarked:markedPageIndex == i];
+    if (markedPageIndex == i)
+        [item setMarked:YES];
     if (RUNNING_BEFORE(10_14))
         [item setBackgroundStyle:[self interactionMode] == SKPresentationMode 
? NSBackgroundStyleDark : NSBackgroundStyleLight];
     return item;

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