mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user