mirror of
https://github.com/ppy/osu.git
synced 2025-03-05 12:32:58 +08:00
Fix key overlay appearing regardless of the setting
This commit is contained in:
parent
3bd4ba3f9f
commit
7d090d6cd9
@ -43,6 +43,11 @@ namespace osu.Game.Screens.Play
|
||||
private void load(OsuConfigManager config)
|
||||
{
|
||||
config.BindWith(OsuSetting.KeyOverlay, configVisibility);
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
Visible.BindValueChanged(_ => updateVisibility());
|
||||
configVisibility.BindValueChanged(_ => updateVisibility(), true);
|
||||
|
Loading…
Reference in New Issue
Block a user