Update TransformTree immediately on user changes

This commit is contained in:
Sinai 2022-03-12 20:16:37 +11:00
parent f00134b283
commit 938a991594

View File

@ -351,14 +351,14 @@ namespace UnityExplorer.UI.Widgets
else else
expandedInstanceIDs.Add(instanceID); expandedInstanceIDs.Add(instanceID);
RefreshData(true, false, true, false); RefreshData(true, false, true, true);
} }
public void OnCellEnableToggled(CachedTransform cache) public void OnCellEnableToggled(CachedTransform cache)
{ {
cache.Value.gameObject.SetActive(!cache.Value.gameObject.activeSelf); cache.Value.gameObject.SetActive(!cache.Value.gameObject.activeSelf);
RefreshData(true, false, true, false); RefreshData(true, false, true, true);
} }
} }
} }