fixed root node indentation

This commit is contained in:
tznind
2020-12-14 07:21:15 +00:00
parent 6af7cd85d1
commit d68dbca108

View File

@@ -631,7 +631,7 @@ namespace Terminal.Gui {
private string GetLinePrefix (ConsoleDriver driver)
{
// If not showing line branches or this is a root object
if(!tree.ShowBranchLines || Parent == null)
if(!tree.ShowBranchLines)
return new string(' ',Depth);
string prefix = "";