Cleanup 8

This commit is contained in:
W2.Wizard
2021-02-21 14:27:44 +01:00
parent a4409c729b
commit 68f6e0251c
13 changed files with 73 additions and 84 deletions

View File

@@ -297,7 +297,7 @@ namespace FlaxEditor.GUI.Tree
}
}
private void walkSelectExpandedTree(List<TreeNode> selection, TreeNode node)
private void WalkSelectExpandedTree(List<TreeNode> selection, TreeNode node)
{
for (int i = 0; i < node.ChildrenCount; i++)
{
@@ -305,7 +305,7 @@ namespace FlaxEditor.GUI.Tree
{
selection.Add(child);
if (child.IsExpanded)
walkSelectExpandedTree(selection, child);
WalkSelectExpandedTree(selection, child);
}
}
}
@@ -322,7 +322,7 @@ namespace FlaxEditor.GUI.Tree
// Update selection
Selection.Clear();
walkSelectExpandedTree(Selection, _children[0] as TreeNode);
WalkSelectExpandedTree(Selection, _children[0] as TreeNode);
// Check if changed
if (Selection.Count != prev.Count || !Selection.SequenceEqual(prev))