mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 16:03:01 +08:00
Move binding to LoadComplete
This commit is contained in:
parent
0070f6b260
commit
21af390327
@ -38,8 +38,12 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
Direction = FillDirection.Full,
|
||||
Spacing = new Vector2(4),
|
||||
};
|
||||
}
|
||||
|
||||
Ruleset.BindValueChanged(onRulesetChanged);
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
Ruleset.BindValueChanged(onRulesetChanged, true);
|
||||
}
|
||||
|
||||
private void onRulesetChanged(ValueChangedEvent<RulesetInfo> ruleset)
|
||||
|
Loading…
Reference in New Issue
Block a user