mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 20:05:29 +08:00
Use Drawable.Empty instead of container
This commit is contained in:
parent
55d78dbc57
commit
f48c7db827
@ -75,10 +75,10 @@ namespace osu.Game.Overlays
|
||||
}
|
||||
|
||||
[NotNull]
|
||||
protected virtual Drawable CreateContent() => new Container();
|
||||
protected virtual Drawable CreateContent() => Drawable.Empty();
|
||||
|
||||
[NotNull]
|
||||
protected virtual Drawable CreateBackground() => new Container();
|
||||
protected virtual Drawable CreateBackground() => Drawable.Empty();
|
||||
|
||||
protected abstract ScreenTitle CreateTitle();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user