Apply changes in line with framework event logic update

This commit is contained in:
Dean Herbert
2020-10-01 12:51:33 +09:00
parent 10ae93cc2e
commit 61e62929ee
5 changed files with 8 additions and 5 deletions

View File

@ -236,7 +236,6 @@ namespace osu.Game.Overlays.Settings.Sections.General
PlaceholderText = "password",
RelativeSizeAxes = Axes.X,
TabbableContentContainer = this,
OnCommit = (sender, newText) => performLogin()
},
new SettingsCheckbox
{
@ -276,6 +275,8 @@ namespace osu.Game.Overlays.Settings.Sections.General
}
}
};
password.OnCommit += (sender, newText) => performLogin();
}
public override bool AcceptsFocus => true;