Improve timeline frame labels displaying

This commit is contained in:
Wojtek Figat
2021-07-29 10:05:03 +02:00
parent 4c0435feef
commit 0d9852be27

View File

@@ -184,7 +184,7 @@ namespace FlaxEditor.GUI.Timeline.GUI
switch (timeShowMode)
{
case Timeline.TimeShowModes.Frames:
labelText = tick.ToString("0000");
labelText = tick.ToString("###0", CultureInfo.InvariantCulture);
break;
case Timeline.TimeShowModes.Seconds:
labelText = time.ToString("###0.##'s'", CultureInfo.InvariantCulture);