1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-16 17:43:12 +08:00

Use Drawable.Empty instead of container

This commit is contained in:
Dean Herbert 2020-01-28 15:41:09 +09:00
parent 55d78dbc57
commit f48c7db827

View File

@ -75,10 +75,10 @@ namespace osu.Game.Overlays
} }
[NotNull] [NotNull]
protected virtual Drawable CreateContent() => new Container(); protected virtual Drawable CreateContent() => Drawable.Empty();
[NotNull] [NotNull]
protected virtual Drawable CreateBackground() => new Container(); protected virtual Drawable CreateBackground() => Drawable.Empty();
protected abstract ScreenTitle CreateTitle(); protected abstract ScreenTitle CreateTitle();
} }