From: <ho...@us...> - 2006-03-19 12:04:03
|
Revision: 5883 Author: hofman Date: 2006-03-19 04:03:52 -0800 (Sun, 19 Mar 2006) ViewCVS: http://svn.sourceforge.net/bibdesk/?rev=5883&view=rev Log Message: ----------- Set the linewidth before any drawing of the drop rectangle, otherwise the fill might partly cover the stroke (even if it is drawn first). Modified Paths: -------------- trunk/bibdesk/BDSKGroupTableView.m Modified: trunk/bibdesk/BDSKGroupTableView.m =================================================================== --- trunk/bibdesk/BDSKGroupTableView.m 2006-03-19 09:40:46 UTC (rev 5882) +++ trunk/bibdesk/BDSKGroupTableView.m 2006-03-19 12:03:52 UTC (rev 5883) @@ -155,11 +155,12 @@ drawRect.size.height -= heightOffset; drawRect.origin.y += heightOffset/2.0; + [NSBezierPath setDefaultLineWidth:1.5]; + [[highlightColor colorWithAlphaComponent:0.2] set]; [NSBezierPath fillRoundRectInRect:drawRect radius:4.0]; [[highlightColor colorWithAlphaComponent:0.8] set]; - [NSBezierPath setDefaultLineWidth:1.5]; [NSBezierPath strokeRoundRectInRect:drawRect radius:4.0]; [NSGraphicsContext restoreGraphicsState]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |