Skip to content

Commit

Permalink
Merge pull request #271 from dburkart/master
Browse files Browse the repository at this point in the history
Get limechat building on OS X 10.10
  • Loading branch information
psychs committed Sep 5, 2015
2 parents 50b23a1 + e670c23 commit 39287a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion Classes/Views/ThinSplitView.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@
@property (nonatomic) int fixedViewIndex;
@property (nonatomic) int position;
@property (nonatomic) BOOL inverted;
@property (nonatomic) BOOL hidden;

@end
6 changes: 2 additions & 4 deletions Classes/Views/ThinSplitView.m
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,12 @@ - (void)setVertical:(BOOL)value

- (void)setHidden:(BOOL)value
{
if (_hidden == value) return;
_hidden = value;
[self adjustSubviews];
}

- (void)drawDividerInRect:(NSRect)rect
{
if (_hidden) return;
if (self.isHidden) return;

if ([self isVertical]) {
[[NSColor colorWithCalibratedWhite:0.65 alpha:1] set];
Expand Down Expand Up @@ -152,7 +150,7 @@ - (void)adjustSubviews
NSRect fixedFrame = fixedView.frame;
NSRect flyingFrame = flyingView.frame;

if (_hidden) {
if (self.isHidden) {
if ([self isVertical]) {
fixedFrame = NSMakeRect(0, 0, 0, height);
flyingFrame.origin = NSZeroPoint;
Expand Down

0 comments on commit 39287a9

Please sign in to comment.