Hi all,
We upgrade to NGUI 3.9.8 and the draggable scrollview we are using for our in-game map can now be scrolled past is bounds, which is not what it was doing before.
Looking at UIScrollView.cs I see the function Drag() used to call RestrictWithinBounds (line 876) but it no longer does with the new version. I verified that un-commenting that if blocks restores the previous behavior of restricting the scrollview to its bounds. Was this change intentional? Is there a new way of restricting the scrollview to its bounds that does not require this code?
(Note that when the scrollview starts it isn't properly restricted, but dragging it will enforce the restriction)
The UIPanel is set to "Constrain but don't clip" and the scrollview to "Restrict within panel" with "Unrestricted" movement (which is what we had before)
Thanks.
Stephane