syedowaisali / crystal-range-seekbar

538 stars 170 forks source link

return values in callback and getSelectedMinValue(Max) that are not identical to the values which setup before #96

Open GooSync opened 6 years ago

GooSync commented 6 years ago

min = -98.68f max = 85784.45f rangeBar.setDataType(CrystalRangeSeekbar.DataType.DOUBLE) .setSteps(0.01f) .setMinValue(min) .setMinStartValue(min) .setMaxValue(max) .setMaxStartValue(max) .apply() rangeBar.setOnRangeSeekbarChangeListener(onChangeBarListener)

and i've got maxValue in listener = 85784.46 wtf? i looked into the code and found many math... which produce the value 85784.45777767307 it's very strange behavior

Moseqi commented 6 years ago

Same here.