1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 15:52:54 +08:00

Merge pull request #8148 from peppy/fix-tournament-screen-aspect-in-tests

Ensure tournament screens respect aspect ratio in tests
This commit is contained in:
Dan Balasescu 2020-03-06 22:18:01 +09:00 committed by GitHub
commit 092c02c3b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,9 @@ namespace osu.Game.Tournament.Screens
protected TournamentScreen()
{
RelativeSizeAxes = Axes.Both;
FillMode = FillMode.Fit;
FillAspectRatio = 16 / 9f;
}
public override void Hide() => this.FadeOut(FADE_DELAY);