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>
|
/// </summary>
|
||||||
public Playfield Playfield => playfield.Value;
|
public Playfield Playfield => playfield.Value;
|
||||||
|
|
||||||
private readonly Container overlays;
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Place to put drawables above hit objects but below UI.
|
/// Place to put drawables above hit objects but below UI.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Container Overlays => overlays;
|
public readonly Container Overlays;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The cursor provided by this <see cref="RulesetContainer"/>. May be null if no cursor is provided.
|
/// 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;
|
Ruleset = ruleset;
|
||||||
playfield = new Lazy<Playfield>(CreatePlayfield);
|
playfield = new Lazy<Playfield>(CreatePlayfield);
|
||||||
overlays = new Container
|
Overlays = new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Width = 1,
|
Width = 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user