mirror of
https://github.com/ppy/osu.git
synced 2025-03-03 23:23:25 +08:00
Olibomby insisted on it being like this so i concede
This commit is contained in:
parent
a6ca9ba9fb
commit
3532ce1636
@ -262,10 +262,9 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
|
|
||||||
private void updateBpmText()
|
private void updateBpmText()
|
||||||
{
|
{
|
||||||
double bpm = Math.Round(interpolatedBpm.Value);
|
double bpm = Precision.AlmostEquals(interpolatedBpm.Value, effectiveBpm, 1.0)
|
||||||
|
? effectiveBpm
|
||||||
if (Precision.AlmostEquals(bpm, effectiveBpm, 1.0))
|
: Math.Round(interpolatedBpm.Value);
|
||||||
bpm = effectiveBpm;
|
|
||||||
|
|
||||||
bpmText.Text = bpm.ToLocalisableString("0.##");
|
bpmText.Text = bpm.ToLocalisableString("0.##");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user