1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-03 22:43:04 +08:00

Olibomby insisted on it being like this so i concede

This commit is contained in:
Marvin Schürz 2025-01-20 01:07:13 +01:00
parent a6ca9ba9fb
commit 3532ce1636

View File

@ -262,10 +262,9 @@ namespace osu.Game.Screens.Edit.Timing
private void updateBpmText()
{
double bpm = Math.Round(interpolatedBpm.Value);
if (Precision.AlmostEquals(bpm, effectiveBpm, 1.0))
bpm = effectiveBpm;
double bpm = Precision.AlmostEquals(interpolatedBpm.Value, effectiveBpm, 1.0)
? effectiveBpm
: Math.Round(interpolatedBpm.Value);
bpmText.Text = bpm.ToLocalisableString("0.##");
}