Add Tab navigation for Editor UI
This commit is contained in:
@@ -1103,6 +1103,15 @@ namespace FlaxEditor.GUI.Tree
|
||||
Height = Mathf.Max(_headerHeight, y);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override bool CanNavigateChild(Control child)
|
||||
{
|
||||
// Closed tree node skips navigation for hidden children
|
||||
if (IsCollapsed && child is TreeNode)
|
||||
return false;
|
||||
return base.CanNavigateChild(child);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void OnParentChangedInternal()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user