Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bug] make sure the RangeBrush updates on slider range changes
Before this commit, if you have, e.g., a Slider with range={[0,10]}, value={[4,5]}, , then it and its RangeBrush will look like ----||----- <- RangeBrush/histogram ====||===== <- Slider . A bug will then appear if you change the Slider's range, say to range={[0,5]}, value={[4,5]}, : then you will see a situation like ----||----- <- RangeBrush (**incorrect**) --------|-| <- Slider (correct) where the RangeBrush has failed to update and so looks out of sync with its Slider. This commit fixes the problem. Signed-off-by: Jarrad Whitaker <jwhitaker📧@📧swift-nav.com>
- Loading branch information