Remove drawRect: overload as we no longer change contentBorderThickness

This commit is contained in:
Allan Odgaard
2018-11-15 12:47:06 +07:00
parent 727e4e626f
commit 7f794f618d
3 changed files with 0 additions and 30 deletions

View File

@@ -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)