Horizontal Scroll Snap "AddChild" method was NOT calling "InitialiseChildObjectsFromScene()", added

Resolves #125
pull/413/head
Simon Jackson 2017-08-07 11:53:57 +01:00
parent 98648acf6a
commit cdef4bdfef
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ namespace UnityEngine.UI.Extensions
{
_scroll_rect.horizontalNormalizedPosition = 0;
GO.transform.SetParent(_screensContainer, WorldPositionStays);
InitialiseChildObjectsFromScene();
DistributePages();
if (MaskArea) UpdateVisible();