mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Move binding to LoadComplete()
This commit is contained in:
parent
6ed474d4fb
commit
7580ab78be
@ -15,9 +15,13 @@ namespace osu.Game.Screens.Play.HUD
|
||||
[SettingSource("Accuracy display mode", "Which accuracy mode should be displayed.")]
|
||||
public Bindable<AccuracyDisplayMode> AccuracyDisplay { get; } = new Bindable<AccuracyDisplayMode>();
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(ScoreProcessor scoreProcessor)
|
||||
[Resolved]
|
||||
private ScoreProcessor scoreProcessor { get; set; } = null!;
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
AccuracyDisplay.BindValueChanged(mod =>
|
||||
{
|
||||
Current.UnbindBindings();
|
||||
|
Loading…
Reference in New Issue
Block a user