Make most common BPM more accurate

This commit is contained in:
smoogipoo
2021-01-15 14:28:49 +09:00
parent abfc5f24a3
commit c6e9a6cd5a
7 changed files with 49 additions and 9 deletions

View File

@ -391,7 +391,7 @@ namespace osu.Game.Screens.Select
if (Precision.AlmostEquals(bpmMin, bpmMax))
return $"{bpmMin:0}";
return $"{bpmMin:0}-{bpmMax:0} (mostly {beatmap.ControlPointInfo.BPMMode:0})";
return $"{bpmMin:0}-{bpmMax:0} (mostly {beatmap.GetMostCommonBeatLength():0})";
}
private OsuSpriteText[] getMapper(BeatmapMetadata metadata)