This commit is contained in:
Andrei Zavatski
2019-10-17 15:24:51 +03:00
parent 42cd4107a0
commit 6b196a6ce7
2 changed files with 12 additions and 5 deletions

View File

@ -45,15 +45,16 @@ namespace osu.Game.Graphics.UserInterface
set => loading.Size = value;
}
private readonly Container background;
private readonly LoadingAnimation loading;
private readonly Drawable content;
public LoadingButton()
protected LoadingButton()
{
Container background;
Child = background = CreateBackground();
background.AddRange(new Drawable[]
background.AddRange(new[]
{
content = CreateContent(),
loading = new LoadingAnimation