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

Change Inset between checked Image and step circle #27

Open
OuSS-90 opened this issue Jul 10, 2020 · 0 comments
Open

Change Inset between checked Image and step circle #27

OuSS-90 opened this issue Jul 10, 2020 · 0 comments

Comments

@OuSS-90
Copy link

OuSS-90 commented Jul 10, 2020

Hello, Thanks for this awesome pod to make progressStep easier
I have one suggestion, is possible to have public var to change inset between checked Image and circle

Now by default it's 8 in UIImage+UIColor.swift:

func draw(inside rect: CGRect) {
      let insideRect = rect.insetBy(dx: 8, dy: 8)
      self.draw(in: insideRect)
 }

Cause I have image with white background color and i want it to take all circle like this:

Screen Shot 2020-07-10 at 11 48 41

Or is there a way to change checked background color to white ??

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