When I drag the foreground of a slide to an extreme, it doesn't reach the end, dependent on where the foreground is contacted.
On windows player if I create a horizontal slider whose value is displayed
and I use the mouse to touch the extreme far right of the foreground sprite and drag, the display value will never reach 1. On the other hand if I grab the foreground sprite anywhere left of center and drag the value will reach 1.
What I believe is the bug:
mOffset is set to a of value - ScreenToValue() which in the case where you are clicking to the right of center will be a negative number.
As you drag value is set based off of the new ScreenToValue + mOffset (which is negative) and since ScreenToValue will never return a value larger than 1, dragging the slider to the right will never result in reaching a value of 1.
Thus the bug: depending on where the foreground is grabbed directly effects whether the slider can reach min/max
POSSIBLE FIX: remove mOffset. Slider is able to be drug to the min/max