diff --git a/Scripts/Layout/HorizontalScrollSnap.cs b/Scripts/Layout/HorizontalScrollSnap.cs index 03aba1c..f241dc5 100644 --- a/Scripts/Layout/HorizontalScrollSnap.cs +++ b/Scripts/Layout/HorizontalScrollSnap.cs @@ -146,7 +146,7 @@ namespace UnityEngine.UI.Extensions Transform child = _screensContainer.transform.GetChild(index); child.SetParent(null, WorldPositionStays); ChildRemoved = child.gameObject; - + InitialiseChildObjectsFromScene(); DistributePages(); if (MaskArea) UpdateVisible();