Item name "..."

This commit is contained in:
2022-02-14 12:07:17 +01:00
parent 9661155cdd
commit b11d009195
11 changed files with 188 additions and 24 deletions

View File

@@ -64,6 +64,7 @@ namespace FileTime.Avalonia.Services
{Commands.CreateElement, CreateElement},
{Commands.Cut, Cut},
{Commands.EnterRapidTravel, EnterRapidTravelMode},
{Commands.Edit, Edit},
{Commands.GoToHome, GotToHome},
{Commands.GoToPath, GoToContainer},
{Commands.GoToProvider, GotToProvider},
@@ -779,5 +780,10 @@ namespace FileTime.Avalonia.Services
return Task.CompletedTask;
}
private Task Edit()
{
return Task.CompletedTask;
}
}
}

View File

@@ -35,7 +35,7 @@ namespace FileTime.Avalonia.Services
nameParts.Add(new ItemNamePart(before));
}
nameParts.Add(new ItemNamePart(rapidTravel) { TextDecorations = TextDecorations.Underline });
nameParts.Add(new ItemNamePart(rapidTravel, true));
}
if (nameLeft.Length > 0)