Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions SRRecorderControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,11 @@ - (void)drawBackground:(NSRect)aDirtyRect

NSBezierPath* path = [NSBezierPath bezierPathWithRoundedRect:frame xRadius:corner yRadius:corner];
path.lineWidth = 1;
[[[NSColor controlColor] colorWithAlphaComponent:opacity] setFill];
[[[NSColor grayColor] colorWithAlphaComponent:opacity] setStroke];

CGContextSetAlpha(NSGraphicsContext.currentContext.CGContext, opacity);

[[NSColor controlColor] setFill];
[[NSColor grayColor] setStroke];
[path fill];
[path stroke];

Expand Down