1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:52:56 +08:00

Increase maximum usable aspect ratio to account for ultrawide monitors

This commit is contained in:
Dean Herbert 2021-03-19 20:05:18 +09:00
parent baf4e4e8f6
commit 86b229b1c9

View File

@ -31,9 +31,9 @@ namespace osu.Game.Overlays.Settings.Sections.Input
private GameHost host { get; set; } private GameHost host { get; set; }
/// <summary> /// <summary>
/// Based on the longest available smartphone. /// Based on ultrawide monitor configurations.
/// </summary> /// </summary>
private const float largest_feasible_aspect_ratio = 20f / 9; private const float largest_feasible_aspect_ratio = 21f / 9;
private readonly BindableNumber<float> aspectRatio = new BindableFloat(1) private readonly BindableNumber<float> aspectRatio = new BindableFloat(1)
{ {