Revision: 2977
http://skim-app.svn.sourceforge.net/skim-app/?rev=2977&view=rev
Author: hofman
Date: 2007-09-22 04:49:37 -0700 (Sat, 22 Sep 2007)
Log Message:
-----------
Round off location of arrows in header popup.
Modified Paths:
--------------
trunk/BDSKHeaderPopUpButtonCell.m
Modified: trunk/BDSKHeaderPopUpButtonCell.m
===================================================================
--- trunk/BDSKHeaderPopUpButtonCell.m 2007-09-22 11:40:31 UTC (rev 2976)
+++ trunk/BDSKHeaderPopUpButtonCell.m 2007-09-22 11:49:37 UTC (rev 2977)
@@ -175,7 +175,7 @@
float height = 4.0 - controlSize;
float totalHeight = 3.0 + 2 * height;
NSBezierPath *path = [NSBezierPath bezierPath];
- [path moveToPoint:NSMakePoint(NSMaxX(cellFrame) - 7.5 + controlSize,
NSMidY(cellFrame) - 0.5f * totalHeight)];
+ [path moveToPoint:NSMakePoint(NSMaxX(cellFrame) - 7.5 + controlSize,
floorf(NSMidY(cellFrame) - 0.5f * totalHeight))];
[path relativeLineToPoint:NSMakePoint(-0.5f * width, height)];
[path relativeLineToPoint:NSMakePoint(width, 0.0)];
[path closePath];
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 2005.
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