AnderWeb / discreteSeekBar

Apache License 2.0
2.11k stars 400 forks source link

discreteSeekBar shows negative of max value when max value is reset #72

Open srolemberg opened 8 years ago

srolemberg commented 8 years ago

If we increase the value set for the maximum value, the cursor is not updated and the indicator displays the negative value of the maximum value.

And even with the increase in the maximum value, the index is not updated.

To get around this, I had to do the process manually, keeping the last value before the maximum change, increasing, resetting the maximum value, and updating progress with the last value.