1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 14:37:30 +08:00

fixed said issue

This commit is contained in:
Shin Morisawa 2024-11-14 07:19:18 +09:00
parent 7e96ae6da4
commit a3da10ff44
No known key found for this signature in database
GPG Key ID: 62E23861D492B078

View File

@ -146,7 +146,10 @@ namespace osu.Game.Beatmaps.Drawables
approachRate.Text = @" AR: " + adjustedDifficulty.ApproachRate.ToString(@"0.##"); approachRate.Text = @" AR: " + adjustedDifficulty.ApproachRate.ToString(@"0.##");
overallDifficulty.Text = @" OD: " + adjustedDifficulty.OverallDifficulty.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); bpm.Text = " BPM: " + Math.Round(bpmAdjusted, 0);
} }