Author Topic: Invisible Scroll Bar Background Bug in Latest Version  (Read 2476 times)

Whitemanafro

  • Guest
Invisible Scroll Bar Background Bug in Latest Version
« on: October 02, 2012, 07:40:11 AM »
Afternoon, just thought I'd mention there's what looks like a small copy & paste bug in the latest version of UIScrollBar.cs.

Line 182 of UIScrollBar.cs in the alpha property to be exact:
  1.         NGUITools.SetActiveSelf(mFG.gameObject, (mFG.alpha > 0.001f));
should be
  1.         NGUITools.SetActiveSelf(mBG.gameObject, (mBG.alpha > 0.001f));

The current version is never setting the scroll bar background as active so the it never displays in-game.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Invisible Scroll Bar Background Bug in Latest Version
« Reply #1 on: October 02, 2012, 04:12:42 PM »
Yup it has been fixed locally. If you are still seeing it with 2.2.1 then this change likely haven't made it into the last build.