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

Negative center coordinates are not working #10

Open
githuboftigran opened this issue Jan 29, 2019 · 0 comments
Open

Negative center coordinates are not working #10

githuboftigran opened this issue Jan 29, 2019 · 0 comments

Comments

@githuboftigran
Copy link

When I set center to center={[viewWidth/2, -200]} radial gradient is drown in the middle of my view.

Removing checks from GradientView::populateDefaultCenterValue and GradientView::drawGradient methods fixed the problem.
I'm sure removing checks in iOS classes will work too.
Please fix

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