1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 07:19:54 +08:00

Simplify portrait check

This commit is contained in:
Salman Alshamrani
2024-12-31 20:01:21 -05:00
Unverified
parent bea61d2483
commit 64e557d00f
@@ -38,7 +38,7 @@ namespace osu.Game.Rulesets.Mania.UI
base.Update();
float aspectRatio = DrawWidth / DrawHeight;
bool isPortrait = aspectRatio < 4 / 3f;
bool isPortrait = aspectRatio < 1f;
if (isPortrait && drawableManiaRuleset.Beatmap.Stages.Count == 1)
{