Skip to content

Commit

Permalink
Fixed extra 1-pixel padding on right side
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Hickinson committed Mar 29, 2012
1 parent 54e3da6 commit 3f83bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Menu Timer/TMPopupView.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ @implementation TMPopupView

- (id)initWithFrame:(NSRect)frame {
if ((self = [super initWithFrame:frame])) {
self.contentFrame = NSMakeRect(frame.origin.x+CORNER_CLIP_RADIUS, frame.origin.y+(CORNER_CLIP_RADIUS + 3), frame.size.width-(CORNER_CLIP_RADIUS * 3), frame.size.height - (CORNER_CLIP_RADIUS * 2) - TRIANGLE_CLIP_BASE - 3);
self.contentFrame = NSMakeRect(frame.origin.x+CORNER_CLIP_RADIUS+1, frame.origin.y+(CORNER_CLIP_RADIUS + 3), frame.size.width-(CORNER_CLIP_RADIUS * 3)-1, frame.size.height - (CORNER_CLIP_RADIUS * 2) - TRIANGLE_CLIP_BASE - 3);
}
return self;
}
Expand Down

0 comments on commit 3f83bf7

Please sign in to comment.