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

Slider: Consider creating and indexing into a list and instead of using computed values, for floating point math errors #41

Open
brettvitaz opened this issue Aug 3, 2016 · 0 comments

Comments

@brettvitaz
Copy link
Contributor

When using very small numbers, floating point math errors can prevent the slider handles from being positioned properly. It may be better to calculate the list of possible values ahead of time and use a whole number scale to index into the list.

This would bring in functionality similar to the slider demo colors example.

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

No branches or pull requests

1 participant