1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 12:33:01 +08:00

Fix typo in identifier

This commit is contained in:
Bartłomiej Dach 2021-03-20 12:34:41 +01:00
parent d28bed6ed2
commit 86b569f5f7

View File

@ -237,7 +237,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
{
if (!aspectLock.Value)
{
float proposedAspectRatio = curentAspectRatio;
float proposedAspectRatio = currentAspectRatio;
if (proposedAspectRatio >= aspectRatio.MinValue && proposedAspectRatio <= aspectRatio.MaxValue)
{
@ -278,8 +278,8 @@ namespace osu.Game.Overlays.Settings.Sections.Input
aspectLock.Value = true;
}
private void updateAspectRatio() => aspectRatio.Value = curentAspectRatio;
private void updateAspectRatio() => aspectRatio.Value = currentAspectRatio;
private float curentAspectRatio => sizeX.Value / sizeY.Value;
private float currentAspectRatio => sizeX.Value / sizeY.Value;
}
}