cocoatoucher/AIFlatSwitch

Exceeds the size of the view by 1

dehlen opened this issue · 0 comments

Hello,
I really like your library however I just encountered a litte UI-Bug. The drawn uicontrol is too big by 1 pixel for the containing UIView. You can see this behaviour in your example application:
bildschirmfoto 2015-10-24 um 15 11 01

However when running the application it looks normal because the background color of the views are the same. But in my situtation the views background color's were not the same.

I will make a PR to fix this problem.
Feel free to merge.

Best Regards,
David