mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 16:47:46 +08:00
20 lines
686 B
C#
20 lines
686 B
C#
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||
|
// See the LICENCE file in the repository root for full licence text.
|
||
|
|
||
|
using osu.Framework.Graphics;
|
||
|
using osu.Framework.Graphics.Containers;
|
||
|
using osuTK;
|
||
|
|
||
|
namespace osu.Game.Tournament.Tests
|
||
|
{
|
||
|
public abstract partial class TournamentScreenTestScene : TournamentTestScene
|
||
|
{
|
||
|
protected override Container<Drawable> Content { get; } = new DrawSizePreservingFillContainer
|
||
|
{
|
||
|
TargetDrawSize = new Vector2(1920, 1080),
|
||
|
Scale = new Vector2(1920 / (float)(1920 + TournamentSceneManager.CONTROL_AREA_WIDTH)),
|
||
|
RelativeSizeAxes = Axes.Both
|
||
|
};
|
||
|
}
|
||
|
}
|