From: <ho...@us...> - 2013-10-30 00:32:53
|
Revision: 8210 http://sourceforge.net/p/skim-app/code/8210 Author: hofman Date: 2013-10-30 00:32:51 +0000 (Wed, 30 Oct 2013) Log Message: ----------- set path lineWidth instead of defaultLineWidth Modified Paths: -------------- trunk/PDFAnnotationLink_SKExtensions.m Modified: trunk/PDFAnnotationLink_SKExtensions.m =================================================================== --- trunk/PDFAnnotationLink_SKExtensions.m 2013-10-29 22:49:51 UTC (rev 8209) +++ trunk/PDFAnnotationLink_SKExtensions.m 2013-10-30 00:32:51 UTC (rev 8210) @@ -59,12 +59,11 @@ CGFloat radius = floor(0.3 * NSHeight(rect)); NSBezierPath *path = [NSBezierPath bezierPathWithRoundedRect:rect xRadius:radius yRadius:radius]; [NSGraphicsContext saveGraphicsState]; - [NSBezierPath setDefaultLineWidth:2.0]; + [path setLineWidth:2.0]; [[NSColor colorWithCalibratedWhite:0.0 alpha:0.1] setFill]; [[NSColor colorWithCalibratedWhite:0.0 alpha:0.5] setStroke]; [path fill]; [path stroke]; - [NSBezierPath setDefaultLineWidth:1.0]; [NSGraphicsContext restoreGraphicsState]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |