Also added "InitialiseChildObjectsFromScene" to RemoveChild for HSS

Validated all other occurrences where this function should be called are valid.
pull/413/head
Simon Jackson 2017-08-07 11:56:41 +01:00
parent cdef4bdfef
commit adb09d3481
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ namespace UnityEngine.UI.Extensions
Transform child = _screensContainer.transform.GetChild(index); Transform child = _screensContainer.transform.GetChild(index);
child.SetParent(null, WorldPositionStays); child.SetParent(null, WorldPositionStays);
ChildRemoved = child.gameObject; ChildRemoved = child.gameObject;
InitialiseChildObjectsFromScene();
DistributePages(); DistributePages();
if (MaskArea) UpdateVisible(); if (MaskArea) UpdateVisible();