Resolution for Reordering ScrollRect when Occlusion script is used

Merged
#107 · Created  · Last updated

Merged pull request

Merged in dev/EnableScrollRectOcclusiontoReset (pull request #107)

19c66b0·Author: ·Closed by: ·2020-11-13

Description

Fix to resolve reordering issue with ScrollRectOcclusion.

  • Sorting is now supported, I've added a new "SetDirty()" function to the UI_Scrollrect_Occlusion script to force it to update once the children have been reordered.

  • This works 100% when the ScrollRect is set to Unrestricted or Clamped

  • If the ScrollRect is set to Elastic, it works 100% when the list is NOT at the beginning or end of the content. (not min or Max)

  • Fixed issue where the scrollrect does not settle when Elastic mode is enabled when it reaches either the Max or Min point of the ScrollRect. Reset now always works.

 

0 attachments

0 comments

Loading commits...