mirror of
https://github.com/ppy/osu.git
synced 2025-03-15 14:47:18 +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)
|
private void load(OsuConfigManager config)
|
||||||
{
|
{
|
||||||
config.BindWith(OsuSetting.KeyOverlay, configVisibility);
|
config.BindWith(OsuSetting.KeyOverlay, configVisibility);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void LoadComplete()
|
||||||
|
{
|
||||||
|
base.LoadComplete();
|
||||||
|
|
||||||
Visible.BindValueChanged(_ => updateVisibility());
|
Visible.BindValueChanged(_ => updateVisibility());
|
||||||
configVisibility.BindValueChanged(_ => updateVisibility(), true);
|
configVisibility.BindValueChanged(_ => updateVisibility(), true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user