Skip to content

Commit

Permalink
Fix header having transparent background
Browse files Browse the repository at this point in the history
  • Loading branch information
slazyk committed Nov 16, 2014
1 parent d516c3b commit 1e865c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FuzzyAutocomplete/FATextCompletionListHeaderView.m
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ static inline void drawRectHelper(NSView * view, NSRect dirtyRect) {
NSRect rect = [view.window.contentView convertRect: [view.window.contentView bounds] toView: view];

[[NSColor controlBackgroundColor] setFill];

NSRectFill(dirtyRect);

NSBezierPath * path = [NSBezierPath bezierPathWithRoundedRect:rect xRadius:radius yRadius:radius];

NSBezierPath *clipPath = [NSBezierPath bezierPathWithRect:CGRectInfinite];
Expand Down

0 comments on commit 1e865c6

Please sign in to comment.