MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / UpdateTable

Method UpdateTable

Source/Editor/Windows/Profiler/Assets.cs:210–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

208 }
209
210 private void UpdateTable()
211 {
212 _table.IsLayoutLocked = true;
213 int idx = 0;
214 while (_table.Children.Count > idx)
215 {
216 var child = _table.Children[idx];
217 if (child is ClickableRow row)
218 {
219 _tableRowsCache.Add(row);
220 child.Parent = null;
221 }
222 else
223 {
224 idx++;
225 }
226 }
227 _table.LockChildrenRecursive();
228
229 UpdateTableInner();
230
231 _table.UnlockChildrenRecursive();
232 _table.PerformLayout();
233 }
234
235 private void UpdateTableInner()
236 {

Callers

nothing calls this directly

Calls 4

LockChildrenRecursiveMethod · 0.80
AddMethod · 0.45
PerformLayoutMethod · 0.45

Tested by

no test coverage detected