From 79eb7d633c2bc2546038456dc5a19d55fe477eca Mon Sep 17 00:00:00 2001 From: afreetoplaynoob <149265233+afreetoplaynoob@users.noreply.github.com> Date: Wed, 2 Oct 2024 08:32:21 -0300 Subject: [PATCH] Properly format the chart editor playbar Minor change, but this makes the song time in the chart editor follow a proper time format. --- source/funkin/ui/debug/charting/ChartEditorState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index ba2f24a73f..c279009f0d 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -5160,7 +5160,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState var songPosSeconds:String = Std.string(Math.floor((Math.abs(songPos) / 1000) % 60)).lpad('0', 2); var songPosMinutes:String = Std.string(Math.floor((Math.abs(songPos) / 1000) / 60)).lpad('0', 2); if (songPos < 0) songPosMinutes = '-' + songPosMinutes; - var songPosString:String = '${songPosMinutes}:${songPosSeconds}:${songPosMilliseconds}'; + var songPosString:String = '${songPosMinutes}:${songPosSeconds}.${songPosMilliseconds}'; if (playbarSongPos.value != songPosString) playbarSongPos.value = songPosString;