Revision: 15055
http://sourceforge.net/p/skim-app/code/15055
Author: hofman
Date: 2025-03-30 09:31:38 +0000 (Sun, 30 Mar 2025)
Log Message:
-----------
use local variable
Modified Paths:
--------------
trunk/SKColorSwatch.m
Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m 2025-03-30 09:22:26 UTC (rev 15054)
+++ trunk/SKColorSwatch.m 2025-03-30 09:31:38 UTC (rev 15055)
@@ -594,8 +594,9 @@
- (void)_setColor:(NSColor *)color atIndex:(NSInteger)i {
if (VALID_INDEX(i)) {
[self willChangeColors];
- [[itemViews objectAtIndex:i] setColor:color];
- NSAccessibilityPostNotification([itemViews objectAtIndex:i],
NSAccessibilityValueChangedNotification);
+ SKColorSwatchItemView *itemView = [itemViews objectAtIndex:i];
+ [itemView setColor:color];
+ NSAccessibilityPostNotification(itemView,
NSAccessibilityValueChangedNotification);
[self didChangeColors];
}
}
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