From b6a7615d8f58e3cc771fd96354d375f83af462c0 Mon Sep 17 00:00:00 2001 From: Alexandre Wilhelm Date: Tue, 12 Feb 2013 11:06:39 -0800 Subject: [PATCH] Fixed bug about the offset of a pullsdown CPPopUpButton close #1053 --- AppKit/CPPopUpButton.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPPopUpButton.j b/AppKit/CPPopUpButton.j index 342233a0b..8b97a61aa 100644 --- a/AppKit/CPPopUpButton.j +++ b/AppKit/CPPopUpButton.j @@ -679,7 +679,7 @@ CPPopUpButtonStatePullsDown = CPThemeState("pulls-down"); if ([self pullsDown]) { var positionedItem = nil, - location = CGPointMake(0.0, CGRectGetMaxY(bounds)); + location = CGPointMake(0.0, CGRectGetMaxY(bounds) - 1); } else {