ckteebe / CustomBadge

CustomBadge is an Objective-C based component to create customized Badges for any given View.
http://saschapaulus.de/opensource
MIT License
397 stars 132 forks source link

Border/Frame: Ensure that the frame scales if the scale is < 1 #20

Closed sascha-wolf closed 5 years ago

sascha-wolf commented 9 years ago

ATM the lineSize of the badge frame stays the same.

With this pull request the lineSize will scale from 1 to 0 accordingly to it's initial size. For example, if the scale is 0.5 the lineSize will be 1 since it's initial size is 2.