Revision: 12394 http://sourceforge.net/p/skim-app/code/12394 Author: hofman Date: 2021-07-23 21:39:37 +0000 (Fri, 23 Jul 2021) Log Message: ----------- Base colors on textColor rather than controlTextColor, as the latter is now gray
Modified Paths: -------------- trunk/SKColorMenuView.m trunk/SKFontWell.m trunk/SKLineWell.m trunk/SKPDFView.h Modified: trunk/SKColorMenuView.m =================================================================== --- trunk/SKColorMenuView.m 2021-07-16 14:06:52 UTC (rev 12393) +++ trunk/SKColorMenuView.m 2021-07-23 21:39:37 UTC (rev 12394) @@ -88,7 +88,7 @@ } - (void)drawRect:(NSRect)dirtyRect { - NSColor *borderColor = [[NSColor controlTextColor] colorWithAlphaComponent:0.2]; + NSColor *borderColor = [[NSColor textColor] colorWithAlphaComponent:0.2]; NSUInteger i, iMax = [colors count]; for (i = 0; i < iMax; i++) { NSRect rect = [self rectAtIndex:i]; Modified: trunk/SKFontWell.m =================================================================== --- trunk/SKFontWell.m 2021-07-16 14:06:52 UTC (rev 12393) +++ trunk/SKFontWell.m 2021-07-23 21:39:37 UTC (rev 12394) @@ -510,7 +510,7 @@ } if ([self isHighlighted]) { [NSGraphicsContext saveGraphicsState]; - [[[NSColor controlTextColor] colorWithAlphaComponent:0.3] setStroke]; + [[[NSColor textColor] colorWithAlphaComponent:0.3] setStroke]; [NSBezierPath strokeRect:NSInsetRect(frame, 0.5, 0.5)]; [NSGraphicsContext restoreGraphicsState]; } Modified: trunk/SKLineWell.m =================================================================== --- trunk/SKLineWell.m 2021-07-16 14:06:52 UTC (rev 12393) +++ trunk/SKLineWell.m 2021-07-23 21:39:37 UTC (rev 12394) @@ -266,7 +266,7 @@ } if ([self isHighlighted]) { [NSGraphicsContext saveGraphicsState]; - [[[NSColor controlTextColor] colorWithAlphaComponent:0.3] setStroke]; + [[[NSColor textColor] colorWithAlphaComponent:0.3] setStroke]; [NSBezierPath strokeRect:NSInsetRect(bounds, 0.5, 0.5)]; [NSGraphicsContext restoreGraphicsState]; } @@ -274,7 +274,7 @@ if (lineWidth > 0.0) { [NSGraphicsContext saveGraphicsState]; [[NSBezierPath bezierPathWithRect:NSInsetRect(bounds, 2.0, 2.0)] addClip]; - [[NSColor controlTextColor] setStroke]; + [[NSColor textColor] setStroke]; [[self path] stroke]; [NSGraphicsContext restoreGraphicsState]; } @@ -304,7 +304,7 @@ image = [NSImage bitmapImageWithSize:bounds.size scale:scale drawingHandler:^(NSRect rect){ [[NSColor windowBackgroundColor] setFill]; [NSBezierPath fillRect:rect]; - [[[NSColor controlTextColor] colorWithAlphaComponent:0.6] setStroke]; + [[[NSColor textColor] colorWithAlphaComponent:0.6] setStroke]; [NSBezierPath strokeRect:NSInsetRect(rect, 0.5, 0.5)]; rect = NSInsetRect(rect, 1.0, 1.0); [imageRep drawInRect:rect fromRect:rect operation:NSCompositeSourceOver fraction:1.0 respectFlipped:NO hints:nil]; Modified: trunk/SKPDFView.h =================================================================== --- trunk/SKPDFView.h 2021-07-16 14:06:52 UTC (rev 12393) +++ trunk/SKPDFView.h 2021-07-23 21:39:37 UTC (rev 12394) @@ -112,6 +112,7 @@ NSTimer *pacerTimer; CGFloat pacerSpeed; + CGFloat pacerWaitTime; SKTransitionController *transitionController; 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