Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: ntopia on June 06, 2014, 02:51:23 AM

Title: UIScrollView.InvalidateBounds() is strange
Post by: ntopia on June 06, 2014, 02:51:23 AM
I'm using NGUI 3.6.2 now.

In UIScrollView.cs
  1.         /// <summary>
  2.         /// Manually invalidate the scroll view's bounds so that they update next time.
  3.         /// </summary>
  4.  
  5.         public void InvalidateBounds () { mCalculatedBounds = true; }
  6.  

Is it right?
I think that right one is "mCalculatedBounds = false;".
How do you think?
Title: Re: UIScrollView.InvalidateBounds() is strange
Post by: ArenMook on June 06, 2014, 09:17:06 PM
Hmm yes, it should be 'false'. Thanks.