Skip to content

Commit

Permalink
Fix 10.7 and 10.8 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyco committed May 31, 2014
1 parent d56d09c commit 7867277
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion OpenEmu/OEGridView.m
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ - (void)awakeFromNib
[self setAllowsReordering:NO];
[self setAllowsDroppingOnItems:YES];
[self setAnimates:NO];
[self setClipsToBounds:NO];

[self private_setClipsToBounds:NO];
[self setCellsStyleMask:IKCellsStyleNone];

IKImageBrowserLayoutManager *layoutManager = [self layoutManager];
Expand Down Expand Up @@ -583,4 +584,11 @@ - (void)drawGroupsOverlays
[renderer fillRect:NSMakeRect(0, NSMinY(visibleRect)-10, NSWidth(visibleRect), 10)];
}


#pragma mark -
- (void)private_setClipsToBounds:(BOOL)flag
{
if([self respondsToSelector:@selector(setClipsToBounds:)])
[self setClipsToBounds:flag];
}
@end

0 comments on commit 7867277

Please sign in to comment.