MalisisCore

48M Downloads

UISlider won't work if width is inherited

Barteks2x opened this issue ยท 2 comments

commented

slideTo(x) uses the width field directly, which will be zero. So it obviously won't work correctly.

commented

Similar issue is likely to happen in any other class that uses width field directly instead og getWidth, ones I found:

  • UIProgressBar#drawBackground and UIProgressBar#drawForeground
  • UIButton#drawForeground
  • UISelect#drawForeground
  • UISlider#drawForeground
commented

Fixed in the next update.