mirror of https://github.com/ppy/osu
Remove unnecessary private field
This commit is contained in:
parent
d379d02761
commit
7d9cdf6f81
|
@ -68,11 +68,10 @@ public abstract class RulesetContainer : Container
|
|||
/// </summary>
|
||||
public Playfield Playfield => playfield.Value;
|
||||
|
||||
private readonly Container overlays;
|
||||
/// <summary>
|
||||
/// Place to put drawables above hit objects but below UI.
|
||||
/// </summary>
|
||||
public Container Overlays => overlays;
|
||||
public readonly Container Overlays;
|
||||
|
||||
/// <summary>
|
||||
/// The cursor provided by this <see cref="RulesetContainer"/>. May be null if no cursor is provided.
|
||||
|
@ -93,7 +92,7 @@ protected RulesetContainer(Ruleset ruleset)
|
|||
{
|
||||
Ruleset = ruleset;
|
||||
playfield = new Lazy<Playfield>(CreatePlayfield);
|
||||
overlays = new Container
|
||||
Overlays = new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Width = 1,
|
||||
|
|
Loading…
Reference in New Issue