Revision: 24179
http://sourceforge.net/p/bibdesk/svn/24179
Author: hofman
Date: 2019-09-01 22:16:09 +0000 (Sun, 01 Sep 2019)
Log Message:
-----------
don't overlap fill and stroke, as they are transparent
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2019-09-01
22:07:34 UTC (rev 24178)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2019-09-01
22:16:09 UTC (rev 24179)
@@ -2056,10 +2056,12 @@
[strokeColor setStroke];
[fillColor setFill];
imageRect = NSInsetRect(imageRect, 1.0, 1.0);
- NSBezierPath *p = [NSBezierPath fv_bezierPathWithRoundRect:imageRect
xRadius:5 yRadius:5];
+ NSBezierPath *p = [NSBezierPath fv_bezierPathWithRoundRect:imageRect
xRadius:5.0 yRadius:5.0];
[p setLineWidth:2.0];
+ [p stroke];
+ imageRect = NSInsetRect(imageRect, 1.0, 1.0);
+ p = [NSBezierPath fv_bezierPathWithRoundRect:imageRect xRadius:4.0
yRadius:4.0];
[p fill];
- [p stroke];
[p setLineWidth:1.0];
[nsContext restoreGraphicsState];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit