Add a basic implementation of the new design results screen.

This commit is contained in:
Dean Herbert
2017-04-11 14:01:13 +09:00
parent 77dbbe6f34
commit d51b37cb44
12 changed files with 662 additions and 52 deletions

View File

@ -0,0 +1,17 @@
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Screens.Ranking
{
public class AspectContainer : Container
{
protected override void Update()
{
base.Update();
if (RelativeSizeAxes == Axes.X)
Height = DrawWidth;
else
Width = DrawHeight;
}
}
}