Skip to content

Commit c7d518d

Browse files
committed
Slightly thicker revision circle outline
1 parent 25b766c commit c7d518d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Classes/Views/PBGitRevisionCell.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,9 @@ - (void) drawCircleInRect: (NSRect) r
136136
if (ENABLE_SHADOW && false) {
137137
[NSGraphicsContext restoreGraphicsState];
138138
}
139-
140-
NSRect smallOval = { columnOrigin.x - 4, columnOrigin.y + r.size.height * 0.5 - 4, 8, 8};
139+
140+
CGFloat outlineWidth = 1.4f;
141+
NSRect smallOval = CGRectInset(oval, outlineWidth, outlineWidth);
141142

142143
if ( [self isCurrentCommit ] ) {
143144
[[NSColor colorWithCalibratedRed: 0Xfc/256.0 green:0Xa6/256.0 blue: 0X4f/256.0 alpha: 1.0] set];

0 commit comments

Comments
 (0)