Revision: 3481
http://skim-app.svn.sourceforge.net/skim-app/?rev=3481&view=rev
Author: hofman
Date: 2008-03-14 08:57:03 -0700 (Fri, 14 Mar 2008)
Log Message:
-----------
Draw nothing in line well for zero line width in drag image.
Modified Paths:
--------------
trunk/SKLineWell.m
Modified: trunk/SKLineWell.m
===================================================================
--- trunk/SKLineWell.m 2008-03-14 15:49:52 UTC (rev 3480)
+++ trunk/SKLineWell.m 2008-03-14 15:57:03 UTC (rev 3481)
@@ -326,8 +326,8 @@
NSRectFill(bounds);
[[NSColor controlBackgroundColor] setFill];
NSRectFill(NSInsetRect(bounds, 2.0, 2.0));
- [NSBezierPath setDefaultLineWidth:1.0];
- [[self path] stroke];
+ if (lineWidth > 0.0)
+ [[self path] stroke];
[image unlockFocus];
NSImage *dragImage = [[[NSImage alloc] initWithSize:targetRect.size]
autorelease];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit