andronix3 / SwingHacks

BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Fix Grabbing Between Vertical Sliders #3

Closed smasher816 closed 8 years ago

smasher816 commented 8 years ago

Sorry. I did a little more testing and it turns out there was a little error in calculating the grab area for vertical sliders (my program only uses horizontal). Upper/Lower wasn't very clear in this case when "upper" (the extent value) actually has a lower y then the "lower" (normal value). Hopefully this new naming convention makes things a little more clear regardless of the orientation.

Take care.