oli107 / material-range-bar

Android widget for selecting a range of values.
Apache License 2.0
1.68k stars 370 forks source link

Fix minimum distance changing unintentionally when tick interval updated to != 1 (#189) #190

Open nispr opened 4 years ago

nispr commented 4 years ago

Fixes issue #189

Issue When tick interval is not 1, thumbs cannot move across each other anymore.

Solution Fix is simple: do not update the distance when desired distance is -1...