Skip to content

Commit

Permalink
Merge pull request #3537 from afreetoplaynoob/patch-1
Browse files Browse the repository at this point in the history
Enhancement: Properly format the chart editor playbar
  • Loading branch information
EliteMasterEric authored Oct 4, 2024
2 parents 29b6763 + 79eb7d6 commit f1b6e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/funkin/ui/debug/charting/ChartEditorState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -5159,7 +5159,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;

Expand Down

0 comments on commit f1b6e6c

Please sign in to comment.