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

Commit

Permalink
Merge pull request #264 from github-for-unity/fixes/257-meta-child-pa…
Browse files Browse the repository at this point in the history
…rsing

Handle parsing of child entries in the changes view better
  • Loading branch information
shana authored Sep 1, 2017
2 parents 4fa9880 + 257ffc5 commit c9711a9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ private void TreeNode(FileTreeNode node)
var isFolderForMeta = false;
if (node.Children.Count() == 1)
{
isFolderForMeta = node.Children.First().Label.Substring(node.Label.Length).Equals(".meta");
var parentLabel = node.Label;
var childLabel = node.Children.First().Label;
isFolderForMeta = childLabel.EndsWith(".meta");
}

GUILayout.BeginHorizontal();
Expand Down

0 comments on commit c9711a9

Please sign in to comment.