Remove the unused dividerHidden property of GraySplitView.
This commit is contained in:
parent
39f5f52423
commit
e0b8935fda
1 changed files with 1 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue