Add drawing root tree lines except for in scene and prefab tree.

This commit is contained in:
Chandler Cox
2025-05-23 16:50:55 -05:00
parent 9ba1c4c338
commit 545a43de32
4 changed files with 9 additions and 2 deletions

View File

@@ -66,6 +66,11 @@ namespace FlaxEditor.GUI.Tree
/// Gets the first selected node or null.
/// </summary>
public TreeNode SelectedNode => Selection.Count > 0 ? Selection[0] : null;
/// <summary>
/// Allow nodes to Draw the root tree line.
/// </summary>
public bool DrawRootTreeLine = true;
/// <summary>
/// Gets or sets the margin for the child tree nodes.