mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
Fix checkbox not updating correctly.
This commit is contained in:
parent
d6dafd6b70
commit
904d258dc3
@ -24,6 +24,7 @@ namespace osu.Game.Overlays.Options
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void bindableValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
State = bindable.Value ? CheckBoxState.Checked : CheckBoxState.Unchecked;
|
||||
@ -47,7 +48,7 @@ namespace osu.Game.Overlays.Options
|
||||
{
|
||||
if (bindable != null)
|
||||
bindable.Value = false;
|
||||
base.OnChecked();
|
||||
base.OnUnchecked();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user