Revision: 15015 http://sourceforge.net/p/skim-app/code/15015 Author: hofman Date: 2025-03-24 15:48:39 +0000 (Mon, 24 Mar 2025) Log Message: ----------- rename macro
Modified Paths: -------------- trunk/SKColorSwatch.m Modified: trunk/SKColorSwatch.m =================================================================== --- trunk/SKColorSwatch.m 2025-03-24 15:47:29 UTC (rev 15014) +++ trunk/SKColorSwatch.m 2025-03-24 15:48:39 UTC (rev 15015) @@ -891,14 +891,14 @@ - (BOOL)canBecomeKeyView { return NO; } -#define WIDTH_OFFSET ([self controlSize] == NSControlSizeRegular ? REGULAR_BEZEL_WIDTH_OFFSET : 0.0) +#define BEZEL_WIDTH_OFFSET ([self controlSize] == NSControlSizeRegular ? REGULAR_BEZEL_WIDTH_OFFSET : 0.0) - (CGFloat)bezelWidth { - return [[self cell] widthForSegment:0] + WIDTH_OFFSET; + return [[self cell] widthForSegment:0] + BEZEL_WIDTH_OFFSET; } - (void)setBezelWidth:(CGFloat)width { - [[self cell] setWidth:width - WIDTH_OFFSET forSegment:0]; + [[self cell] setWidth:width - BEZEL_WIDTH_OFFSET forSegment:0]; [self setNeedsDisplay:YES]; } 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