Skip to content
This repository was archived by the owner on Nov 19, 2019. It is now read-only.

Commit 7c15df4

Browse files
author
Dorian Johnson
committed
Unified style: fix off-by-one bg when mouseover inactive tab
1 parent 76a5d5c commit 7c15df4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/PSMUnifiedTabStyle.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ -(void)drawBezelOfTabCell:(PSMTabBarCell *)cell withFrame:(NSRect)frame inTabBar
140140

141141
if ([cell isHighlighted] && [cell state] == NSOffState)
142142
{
143-
aRect.origin.y += 1;
144-
aRect.size.height -= 1;
143+
aRect.origin.y += 1.5;
144+
aRect.size.height -= 1.5;
145145
}
146146

147147
CGFloat radius = MIN(6.0, 0.5f * MIN(NSWidth(aRect), NSHeight(aRect)));

0 commit comments

Comments
 (0)