mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
address reviews
This commit is contained in:
@ -342,8 +342,8 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
|
||||
private float currentAspectRatio => sizeX.Value / sizeY.Value;
|
||||
|
||||
private static float getHeight(float width, float aspectRatio) => MathF.Round(width / aspectRatio);
|
||||
private static float getHeight(float width, float aspectRatio) => width / aspectRatio;
|
||||
|
||||
private static float getWidth(float height, float aspectRatio) => MathF.Round(height * aspectRatio);
|
||||
private static float getWidth(float height, float aspectRatio) => height * aspectRatio;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user