1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 10:33:22 +08:00

Use local instead of field for local only usage

This commit is contained in:
Dean Herbert 2024-12-01 19:53:57 +09:00
parent 6afe083ec9
commit 23522b02d8
No known key found for this signature in database

View File

@ -88,7 +88,6 @@ namespace osu.Game.Screens.Play
private readonly FillFlowContainer bottomRightElements; private readonly FillFlowContainer bottomRightElements;
private readonly FillFlowContainer topRightElements; private readonly FillFlowContainer topRightElements;
private readonly Container rightSettings;
internal readonly IBindable<bool> IsPlaying = new Bindable<bool>(); internal readonly IBindable<bool> IsPlaying = new Bindable<bool>();
@ -116,6 +115,8 @@ namespace osu.Game.Screens.Play
public HUDOverlay([CanBeNull] DrawableRuleset drawableRuleset, IReadOnlyList<Mod> mods, bool alwaysShowLeaderboard = true) public HUDOverlay([CanBeNull] DrawableRuleset drawableRuleset, IReadOnlyList<Mod> mods, bool alwaysShowLeaderboard = true)
{ {
Container rightSettings;
this.drawableRuleset = drawableRuleset; this.drawableRuleset = drawableRuleset;
this.mods = mods; this.mods = mods;