Use shorter, relative path for displaying Asset Tooltips.

This commit is contained in:
Menotdan
2023-05-07 13:11:53 -04:00
parent 159fb8f5ee
commit 4c906f4040
3 changed files with 18 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ namespace FlaxEditor.Content
{
sb.Append("Type: ").Append(TypeName).AppendLine();
sb.Append("Size: ").Append(Utilities.Utils.FormatBytesCount((int)new FileInfo(Path).Length)).AppendLine();
sb.Append("Path: ").Append(Path).AppendLine();
sb.Append("Path: ").Append(FlaxEditor.Utilities.Utils.GetAssetNamePathWithExt(Path)).AppendLine();
}
/// <inheritdoc />