1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 18:32:56 +08:00

Reorder math to be easier to pass

Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
This commit is contained in:
Dean Herbert 2022-03-04 17:54:04 +09:00 committed by GitHub
parent e9e92b991e
commit 1c40fcb79e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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