fix OsuAnalysisSettings text not updating

This commit is contained in:
Sheepposu 2024-02-22 22:34:38 -05:00
parent 45444b39d4
commit 2a1fa8ccac

View File

@ -1,6 +1,7 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Localisation;
@ -30,7 +31,8 @@ namespace osu.Game.Rulesets.Osu.UI
};
}
protected override void LoadComplete()
[BackgroundDependencyLoader]
private void load()
{
DrawableRuleset.Playfield.MarkersContainer.HitMarkerEnabled.BindTo(hitMarkerToggle.Current);
DrawableRuleset.Playfield.MarkersContainer.AimMarkersEnabled.BindTo(aimMarkerToggle.Current);