1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-18 03:27:20 +08:00

Fix incorrect precision specification for button disable check

This commit is contained in:
Dean Herbert 2022-03-02 14:36:49 +09:00
parent 3cbcb702f6
commit 8bd66f1ed7

View File

@ -131,7 +131,7 @@ namespace osu.Game.Screens.Play.PlayerSettings
}
if (useAverageButton != null)
useAverageButton.Enabled.Value = !Precision.AlmostEquals(lastPlayAverage, -Current.Value, Current.Precision);
useAverageButton.Enabled.Value = !Precision.AlmostEquals(lastPlayAverage, -Current.Value, Current.Precision / 2);
realmWriteTask = realm.WriteAsync(r =>
{