Currently on the range bar, if the pins are both set to the same value and the user clicks on the bar to the left of the pins, the right pin would move to the click position instead of the left. This means that the right pin is actually to the left of the left pin.
This PR addresses the issue by performing an additional check for equality between the 2 pins while calculating the distance.
Currently on the range bar, if the pins are both set to the same value and the user clicks on the bar to the left of the pins, the right pin would move to the click position instead of the left. This means that the right pin is actually to the left of the left pin.
This PR addresses the issue by performing an additional check for equality between the 2 pins while calculating the distance.