mirror of https://github.com/ppy/osu
Ensure screens respect aspect ratio in tests
This commit is contained in:
parent
aafdfbca1f
commit
ac88ba717b
|
@ -18,6 +18,9 @@ public abstract class TournamentScreen : CompositeDrawable
|
||||||
protected TournamentScreen()
|
protected TournamentScreen()
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both;
|
RelativeSizeAxes = Axes.Both;
|
||||||
|
|
||||||
|
FillMode = FillMode.Fit;
|
||||||
|
FillAspectRatio = 16 / 9f;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Hide() => this.FadeOut(FADE_DELAY);
|
public override void Hide() => this.FadeOut(FADE_DELAY);
|
||||||
|
|
Loading…
Reference in New Issue