1
0
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:
Dean Herbert 2016-11-09 20:13:13 +09:00 committed by GitHub
parent d6dafd6b70
commit 904d258dc3

View File

@ -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();
}
}
}