Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting cornerRadius on M13ProgressViewBorderedBar doesn't affect the backgroundColor. Only the cornerRadius of primaryColor is affected. #130

Open
earthmaniebo opened this issue May 21, 2018 · 1 comment

Comments

@earthmaniebo
Copy link

screen shot 2018-05-21 at 4 44 44 pm

See code below:

progressViewBordered.borderWidth = 0
progressViewBordered.cornerType = M13ProgressViewBorderedBarCornerTypeCircle
progressViewBordered.cornerRadius = 10.0
progressViewBordered.primaryColor = UIColor.orange
progressViewBordered.backgroundColor = UIColor.lightGray
progressViewBordered.setProgress(0.70, animated: true)

Only the orange bar is affected by the cornerRadius. The gray part is still square.

@earthmaniebo
Copy link
Author

Probably related to #68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant