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

Full 2*PI clockwise position : the circle is not colored #9

Open
IgorVanian opened this Issue Feb 15, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@IgorVanian

IgorVanian commented Feb 15, 2017

Hello,
For the circle, I managed to set a max value and a step value.
If i push the end thumb to the end of the circle (max value : 2*PI), the gradient is null even if the angle is not 0.

screen

Is there a way to push the gradient up to the max value?

@bartgryszko

This comment has been minimized.

Owner

bartgryszko commented Mar 4, 2017

You'd probably need to play wit https://github.com/bgryszko/react-native-circular-slider/blob/master/src/CircularSlider.js#L21 variable, as if you take a look in the code I do % (2 * Math.PI). I'm happy to accept the PR where you can set an option on the copoment to count more than just one full circle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment