Remove the unused dividerHidden property of GraySplitView.

This commit is contained in:
Cheng Zhao 2013-12-12 23:33:50 +08:00
parent 39f5f52423
commit e0b8935fda

View file

@ -10,27 +10,14 @@
using namespace brightray;
@interface GraySplitView : NSSplitView {
BOOL dividerHidden_;
}
@property(assign, nonatomic) BOOL dividerHidden;
@interface GraySplitView : NSSplitView
- (NSColor*)dividerColor;
- (CGFloat)dividerThickness;
@end
@implementation GraySplitView
@synthesize dividerHidden = dividerHidden_;
- (NSColor*)dividerColor {
return [NSColor darkGrayColor];
}
- (CGFloat)dividerThickness {
return dividerHidden_ ? 0 : [super dividerThickness];
}
@end