FancyScrollView
FancyScrollView copied to clipboard
Fix performance lag caused by scrollbar value set invoke
There is a bug will cause performance lag, the flow like this:
- When
Scroller.UpdatePositionmethod is called, the customonValueChangedaction been invoked and the scrollbar value will be set. - Then the scrollbar
onValueChangedaction will be invoke, and theScroller.UpdatePositionmethod been called again, if the customonValueChangedaction is heavy, there will be some lag for UGUI layout.
Thanks for this lib!