mirror of
https://github.com/osukey/osukey.git
synced 2025-07-22 19:00:05 +09:00
Fix key overlay appearing regardless of the setting
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user