Oh look, another one liner. Fixed #34
This commit is contained in:
parent
4c919a152c
commit
e8a5cbc846
@ -159,7 +159,7 @@ public static class BaseModule
|
|||||||
FileInfo info = new(f);
|
FileInfo info = new(f);
|
||||||
if (f.Length > longestName) longestName = f.Trim().Length;
|
if (f.Length > longestName) longestName = f.Trim().Length;
|
||||||
|
|
||||||
int size = Mathf.Ceiling(MathF.Log10(info.Length));
|
int size = Mathf.Ceiling(info.Length.ToString().Length);
|
||||||
if (longestSize > size) longestSize = size;
|
if (longestSize > size) longestSize = size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user