Author Topic: UIScrollView.InvalidateBounds() is strange  (Read 2627 times)

ntopia

  • Newbie
  • *
  • Thank You
  • -Given: 6
  • -Receive: 0
  • Posts: 15
    • View Profile
UIScrollView.InvalidateBounds() is strange
« 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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIScrollView.InvalidateBounds() is strange
« Reply #1 on: June 06, 2014, 09:17:06 PM »
Hmm yes, it should be 'false'. Thanks.