Use LoadingLayer at player loading screen

This commit is contained in:
Dean Herbert
2020-02-23 04:58:52 +09:00
parent 66317f9fcd
commit 8dbcdebd28
2 changed files with 2 additions and 9 deletions

View File

@ -64,7 +64,7 @@ namespace osu.Game.Graphics.UserInterface
protected override void Update()
{
base.Update();
MainContents.Size = new Vector2(Math.Min(100, Math.Min(DrawWidth, DrawHeight) * 0.25f));
MainContents.Size = new Vector2(Math.Clamp(Math.Min(DrawWidth, DrawHeight) * 0.25f, 30, 100));
}
protected override void Dispose(bool isDisposing)