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

Commit dbfa282

Browse files
committed
More sturdy fix for #257
1 parent c9711a9 commit dbfa282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ private void TreeNode(FileTreeNode node)
123123
{
124124
var parentLabel = node.Label;
125125
var childLabel = node.Children.First().Label;
126-
isFolderForMeta = childLabel.EndsWith(".meta");
126+
isFolderForMeta = childLabel.StartsWith(parentLabel) && childLabel.EndsWith(".meta");
127127
}
128128

129129
GUILayout.BeginHorizontal();

0 commit comments

Comments
 (0)