mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 06:37:43 +08:00
fixed said issue
This commit is contained in:
parent
7e96ae6da4
commit
a3da10ff44
@ -146,7 +146,10 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
approachRate.Text = @" AR: " + adjustedDifficulty.ApproachRate.ToString(@"0.##");
|
||||
overallDifficulty.Text = @" OD: " + adjustedDifficulty.OverallDifficulty.ToString(@"0.##");
|
||||
|
||||
length.Text = "Length: " + TimeSpan.FromMilliseconds(displayedContent.BeatmapInfo.Length / rate).ToString(@"hh\:mm\:ss");
|
||||
TimeSpan lengthTimeSpan = TimeSpan.FromMilliseconds(displayedContent.BeatmapInfo.Length / rate);
|
||||
length.Text = "Length: " + (lengthTimeSpan.Hours > 0
|
||||
? lengthTimeSpan.ToString(@"hh\:mm\:ss")
|
||||
: lengthTimeSpan.ToString(@"mm\:ss"));
|
||||
bpm.Text = " BPM: " + Math.Round(bpmAdjusted, 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user