Password textbox now performs login on enter

This commit is contained in:
John Leuenhagen 2017-03-02 22:05:32 -05:00
parent 78a0bce3bb
commit 417c7e341a
No known key found for this signature in database
GPG Key ID: 907086AC94B52427
1 changed files with 2 additions and 1 deletions

View File

@ -117,7 +117,8 @@ private void load(APIAccess api, OsuConfigManager config)
{
PlaceholderText = "Password",
RelativeSizeAxes = Axes.X,
TabbableContentContainer = this
TabbableContentContainer = this,
OnCommit = (TextBox sender, bool newText) => performLogin()
},
new OsuCheckbox
{