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

Commit 887e6cf

Browse files
Hiding the root node
1 parent 563d60e commit 887e6cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ private void BuildTree()
194194
treeChanges.ActiveNodeIcon = Styles.ActiveBranchIcon;
195195
treeChanges.NodeIcon = Styles.BranchIcon;
196196
treeChanges.FolderIcon = Styles.FolderIcon;
197+
treeChanges.DisplayRootNode = false;
197198
treeChanges.PathIgnoreRoot = Environment.RepositoryPath + Environment.FileSystem.DirectorySeparatorChar;
198199
treeChanges.PathSeparator = Environment.FileSystem.DirectorySeparatorChar.ToString();
199200
}

0 commit comments

Comments
 (0)