Fix up the stage view's commit message text view

- stop the spelling error markers from being drawn over
    - allow undo/redo in the commit message view
This commit is contained in:
Nathan Kinsinger
2010-02-27 19:35:07 -07:00
parent c19d2c8058
commit ef8fed6f4e
3 changed files with 9 additions and 10 deletions
+1 -7
View File
@@ -13,9 +13,7 @@
- (void)drawRect:(NSRect)aRect
{
NSColor *originalColor = [self backgroundColor];
[originalColor set];
NSRectFill(aRect);
[super drawRect:aRect];
// draw a vertical line after the given size (used as an indicator
// for the first line of the commit message)
@@ -33,10 +31,6 @@
line.size.height = aRect.size.height;
NSRectFill(line);
}
[self setBackgroundColor:nil];
[super drawRect:aRect];
[self setBackgroundColor:originalColor];
}
@end