Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Commit

Permalink
[#449] removed 10.7 fix in NSBox
Browse files Browse the repository at this point in the history
  • Loading branch information
mackuba committed Mar 29, 2015
1 parent 1a74107 commit f9393a4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Hive/Views/HIBox.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ - (void)awakeFromNib {
}

- (void)setUpBox {
[self setWantsLayer:YES];

// Workaround missing layer on 10.7
self.layer = [CALayer new];

self.wantsLayer = YES;
self.layer.borderWidth = 1.0;
self.layer.cornerRadius = 5.0;
self.layer.borderColor = [RGB(195,195,195) CGColor];
Expand Down

0 comments on commit f9393a4

Please sign in to comment.