mirror of
https://github.com/osukey/osukey.git
synced 2025-06-08 04:48:04 +09: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)
|
private void bindableValueChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
State = bindable.Value ? CheckBoxState.Checked : CheckBoxState.Unchecked;
|
State = bindable.Value ? CheckBoxState.Checked : CheckBoxState.Unchecked;
|
||||||
@ -47,7 +48,7 @@ namespace osu.Game.Overlays.Options
|
|||||||
{
|
{
|
||||||
if (bindable != null)
|
if (bindable != null)
|
||||||
bindable.Value = false;
|
bindable.Value = false;
|
||||||
base.OnChecked();
|
base.OnUnchecked();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user