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;
|
using namespace brightray;
|
||||||
|
|
||||||
@interface GraySplitView : NSSplitView {
|
@interface GraySplitView : NSSplitView
|
||||||
BOOL dividerHidden_;
|
|
||||||
}
|
|
||||||
@property(assign, nonatomic) BOOL dividerHidden;
|
|
||||||
- (NSColor*)dividerColor;
|
- (NSColor*)dividerColor;
|
||||||
- (CGFloat)dividerThickness;
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
@implementation GraySplitView
|
@implementation GraySplitView
|
||||||
|
|
||||||
@synthesize dividerHidden = dividerHidden_;
|
|
||||||
|
|
||||||
- (NSColor*)dividerColor {
|
- (NSColor*)dividerColor {
|
||||||
return [NSColor darkGrayColor];
|
return [NSColor darkGrayColor];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (CGFloat)dividerThickness {
|
|
||||||
return dividerHidden_ ? 0 : [super dividerThickness];
|
|
||||||
}
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue