mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-12 02:18:04 +08:00
Make PruneString helper
This commit is contained in:
1 parent
617d68f7e9
commit
34c8ad3646
2 files changed
+34
-16
No files matched your search
@@ -219,9 +219,7 @@ namespace UnityExplorer.UI.CacheObject
|
||||
if (!LastValueWasNull)
|
||||
{
|
||||
string s = Value as string;
|
||||
if (s.Length > 200)
|
||||
s = $"{s.Substring(0, 200)}...";
|
||||
return $"\"{s}\"";
|
||||
return $"\"{ToStringUtility.PruneString(s, 200, 5)}\"";
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user