Revision: 11122
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=11122&view=rev
Author:   hofman
Date:     2007-09-22 04:49:43 -0700 (Sat, 22 Sep 2007)

Log Message:
-----------
Round off location of arrows in header popup.

Modified Paths:
--------------
    trunk/bibdesk/BDSKHeaderPopUpButtonCell.m

Modified: trunk/bibdesk/BDSKHeaderPopUpButtonCell.m
===================================================================
--- trunk/bibdesk/BDSKHeaderPopUpButtonCell.m   2007-09-22 11:42:07 UTC (rev 
11121)
+++ trunk/bibdesk/BDSKHeaderPopUpButtonCell.m   2007-09-22 11:49:43 UTC (rev 
11122)
@@ -156,7 +156,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/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to