mirror of https://github.com/ppy/osu
fix issue
This commit is contained in:
parent
53fcb494ff
commit
64e7e44f28
|
@ -147,9 +147,7 @@ public void SetContent(DifficultyIconTooltipContent content)
|
|||
overallDifficulty.Text = @" OD: " + adjustedDifficulty.OverallDifficulty.ToString(@"0.##");
|
||||
|
||||
TimeSpan lengthTimeSpan = TimeSpan.FromMilliseconds(displayedContent.BeatmapInfo.Length / rate);
|
||||
length.Text = "Length: " + (lengthTimeSpan.Hours > 0
|
||||
? lengthTimeSpan.ToString(@"hh\:mm\:ss")
|
||||
: lengthTimeSpan.ToString(@"mm\:ss"));
|
||||
length.Text = "Length: " + (lengthTimeSpan.TotalHours >= 1 ? lengthTimeSpan.ToString(@"hh\:mm\:ss") : lengthTimeSpan.ToString(@"mm\:ss"));
|
||||
bpm.Text = " BPM: " + Math.Round(bpmAdjusted, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue