Skip to content

Commit

Permalink
Remove inefficient workaround
Browse files Browse the repository at this point in the history
The parent commit is a more general solution
  • Loading branch information
barijaona committed Dec 26, 2018
1 parent 5466759 commit b2248be
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,6 @@ - (void)drawBezelOfTabBarView:(MMTabBarView *)tabBarView inRect:(NSRect)rect
// anything substantial. Instead, let's get the private iVar using this means:
MMAttachedTabBarButton *addTabButton = [tabBarView valueForKey:@"_addTabButton"];

// If we don't invalidate the whole rect, then only the button will fill
// with the new color.
[tabBarView setNeedsDisplayInRect:rect];

// In Mojave, during a mouse press there's also another highlighting; however MMTabBarView
// doesn't provide the architecture that we need to implement this, but with the hack
// above we can at least perform the hover behavior of Mojave.
Expand Down

0 comments on commit b2248be

Please sign in to comment.