mirror of
https://github.com/osukey/osukey.git
synced 2025-05-21 13:37:20 +09:00
Remove unnecessary private field
This commit is contained in:
parent
d379d02761
commit
7d9cdf6f81
@ -68,11 +68,10 @@ namespace osu.Game.Rulesets.UI
|
||||
/// </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 @@ namespace osu.Game.Rulesets.UI
|
||||
{
|
||||
Ruleset = ruleset;
|
||||
playfield = new Lazy<Playfield>(CreatePlayfield);
|
||||
overlays = new Container
|
||||
Overlays = new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Width = 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user