mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
Fix key overlay appearing regardless of the setting (#7289)
Fix key overlay appearing regardless of the setting Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
This commit is contained in:
commit
1451f06739
@ -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