Revision: 15041 http://sourceforge.net/p/skim-app/code/15041 Author: hofman Date: 2025-03-29 16:00:16 +0000 (Sat, 29 Mar 2025) Log Message: ----------- use variable
Modified Paths: -------------- trunk/SKColorSwatch.m Modified: trunk/SKColorSwatch.m =================================================================== --- trunk/SKColorSwatch.m 2025-03-29 15:51:44 UTC (rev 15040) +++ trunk/SKColorSwatch.m 2025-03-29 16:00:16 UTC (rev 15041) @@ -495,7 +495,7 @@ [[itemViews objectAtIndex:iMax] removeFromSuperview]; [itemViews removeObjectAtIndex:iMax]; } - if (autoResizes && [newColors count] != oldCount) + if (autoResizes && iMax != oldCount) [self sizeToFit]; [self setBezelWidth:[self contentWidth]]; [self updateItemViewFramesAnimating:NO]; 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