Skip to content

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

@brettvitaz

Description

@brettvitaz

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions