Revision: 15053
          http://sourceforge.net/p/skim-app/code/15053
Author:   hofman
Date:     2025-03-30 09:21:59 +0000 (Sun, 30 Mar 2025)
Log Message:
-----------
Fix check, array was already changed

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

Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m       2025-03-30 09:10:20 UTC (rev 15052)
+++ trunk/SKColorSwatch.m       2025-03-30 09:21:59 UTC (rev 15053)
@@ -656,7 +656,7 @@
             [self didChangeValueForKey:SELECTEDCOLORINDEX_KEY];
         }
         if (focusedIndex > i ||
-            focusedIndex == (NSInteger)[itemViews count] - 1) {
+            focusedIndex == (NSInteger)[itemViews count]) {
             focusedIndex--;
             [self noteFocusRingMaskChanged];
         }

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