Skip to content

startIndex and endIndex have the wrong values for certain indices when max index is too high #2

@ronenfe

Description

@ronenfe

I have a CircularRangeSlider with max set to 31.

On the event onRangeRelease,onRangeChange, when I set startIndex or endIndex in the ui for the following values: It receives it as the value - 1:
16, 17, 19, 20, 23, 24, 25, 28, those bad indices can change depending on max index. I think it's because the physical distance in the graphic is too small. The thing is the ui shows the selection correctly so I think it's an easy fix.
The maximum working max value is 30. Any max set to above 30 causes this bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions