dorianj / PSMTabBarControl

A browser-style Mac OS X tab control that works on 10.6-10.8 with Xcode 4. Pull requests welcomed.
118 stars 48 forks source link

Metal style when processing: Line of white pixels over spinner #35

Open neoneye opened 10 years ago

neoneye commented 10 years ago

This is what I'm seeing with the demo project white pixels on screenshot

It goes away if I briefly switch to Adium style and then back to Metal style.

I think the spinner is layouted using the _indicatorRectForBounds:, but can't figure out precisely whats wrong.

chinhster commented 9 years ago

I fixed this by adding a new macro:

define kMMTabBarIndicatorHeight 15.0

And replacing the instance of kMMTabBarIndicatorWidth in MMTabBarButton.m and MMTabBarButtonCell.m with it that affect the height.