This commit is contained in:
Sinai committed 2021-04-30 23:12:18 +10:00
1 parent 2378925a8b
commit 74ff1d8f01
14 files changed
+97 -259

No files matched your search

+8 -8
View File
@@ -49,7 +49,7 @@ namespace UnityExplorer.UI.Inspectors
TransformTree.Rebuild();
ComponentList.ScrollPool.Rebuild();
ComponentList.ScrollPool.Refresh(true, true);
UpdateComponents();
}
@@ -57,12 +57,12 @@ namespace UnityExplorer.UI.Inspectors
{
base.OnReturnToPool();
// release component and transform lists
this.TransformTree.ScrollPool.ReturnCells();
this.TransformTree.ScrollPool.SetUninitialized();
this.ComponentList.ScrollPool.ReturnCells();
this.ComponentList.ScrollPool.SetUninitialized();
//// release component and transform lists
//this.TransformTree.ScrollPool.ReleaseCells();
//this.TransformTree.ScrollPool.SetUninitialized();
//
//this.ComponentList.ScrollPool.ReleaseCells();
//this.ComponentList.ScrollPool.SetUninitialized();
}
private float timeOfLastUpdate;
@@ -150,7 +150,7 @@ namespace UnityExplorer.UI.Inspectors
_componentEntries.Add(comp);
ComponentList.RefreshData();
ComponentList.ScrollPool.RefreshCells(true);
ComponentList.ScrollPool.Refresh(true);
}
protected override void OnCloseClicked()