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:
parent
55d78dbc57
commit
f48c7db827
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user