alskipp/ASValueTrackingSlider

The popUpView size is calculated incorrectly in specific circumstances

Closed this issue · 1 comments

When the minimum value of the slider is negative, but its absolute value is less than the maximum value (e.g. min:-20, max:60), the popUpView size is calculated incorrectly. Need to give extra space for the sign "-".
-20
60

If the abs of the minimum value is the same or greater than the maximum then the size is calculated correctly.
-60

Fixed with c57c62c