Pad frame indices in TAStudio to 5 digits from the start
This commit is contained in:
parent
fbd45915cb
commit
69a938f29b
|
@ -296,7 +296,9 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
/// <returns><paramref name="index"/> with leading zeroes such that every frame in the movie will be printed with the same number of digits</returns>
|
||||
private string FrameToStringPadded(int index)
|
||||
=> index.ToString(_formatCache[NumberExtensions.Log10(Math.Max(CurrentTasMovie.InputLogLength, 1))]);
|
||||
=> index.ToString(_formatCache[Math.Max(
|
||||
4,
|
||||
NumberExtensions.Log10(Math.Max(CurrentTasMovie.InputLogLength, 1)))]);
|
||||
|
||||
private void TasView_QueryItemText(int index, RollColumn column, out string text, ref int offsetX, ref int offsetY)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue