Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 4ce2aa7

Browse files
Defaulting title to empty string
1 parent e9bc27e commit 4ce2aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/TreeControl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public abstract class Tree<TNode, TData>: TreeBase<TNode, TData>
2020
[SerializeField] public Rect Margin = new Rect();
2121
[SerializeField] public Rect Padding = new Rect();
2222

23-
[SerializeField] public string title;
23+
[SerializeField] public string title = string.Empty;
2424
[SerializeField] public string pathSeparator = "/";
2525
[SerializeField] public bool displayRootNode = true;
2626
[SerializeField] public bool isCheckable = false;

0 commit comments

Comments
 (0)