mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Remove drawRect: overload as we no longer change contentBorderThickness
This commit is contained in:
@@ -127,16 +127,6 @@ static NSTextField* OakCreateTextField ()
|
||||
[self addConstraints:_layoutConstraints];
|
||||
}
|
||||
|
||||
- (void)drawRect:(NSRect)aRect
|
||||
{
|
||||
if([self.window contentBorderThicknessForEdge:NSMinYEdge] < NSMaxY(self.frame))
|
||||
{
|
||||
[[NSColor windowBackgroundColor] set];
|
||||
NSRectFill(aRect);
|
||||
[super drawRect:aRect];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)setIndeterminateProgress:(BOOL)newIndeterminateProgress
|
||||
{
|
||||
if(_indeterminateProgress == newIndeterminateProgress)
|
||||
|
||||
Reference in New Issue
Block a user