mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 01:17:35 +09:00
Fix initial state being wrong due to BindValueChanged
call in BDL load
This commit is contained in:
parent
ea3d08d5a0
commit
f3e85d2302
@ -29,9 +29,13 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader(true)]
|
[Resolved(canBeNull: true)]
|
||||||
private void load(Player? player)
|
private Player? player { get; set; }
|
||||||
|
|
||||||
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
|
base.LoadComplete();
|
||||||
|
|
||||||
if (player != null)
|
if (player != null)
|
||||||
{
|
{
|
||||||
showCombo.BindTo(player.ShowingOverlayComponents);
|
showCombo.BindTo(player.ShowingOverlayComponents);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user