1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-16 03:42:55 +08:00

Allow tabbing between text fields.

This commit is contained in:
DrabWeb 2018-08-14 11:36:46 -03:00
parent af31845c83
commit c66578ba5b

View File

@ -67,6 +67,7 @@ namespace osu.Game.Screens.Multi.Screens.Match.Settings
Child = NameField = new SettingsTextBox Child = NameField = new SettingsTextBox
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
TabbableContentContainer = this,
OnCommit = (sender, text) => apply(), OnCommit = (sender, text) => apply(),
}, },
}, },
@ -109,6 +110,7 @@ namespace osu.Game.Screens.Multi.Screens.Match.Settings
Child = MaxParticipantsField = new SettingsTextBox Child = MaxParticipantsField = new SettingsTextBox
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
TabbableContentContainer = this,
OnCommit = (sender, text) => apply(), OnCommit = (sender, text) => apply(),
}, },
}, },
@ -117,6 +119,7 @@ namespace osu.Game.Screens.Multi.Screens.Match.Settings
Child = new SettingsTextBox Child = new SettingsTextBox
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
TabbableContentContainer = this,
OnCommit = (sender, text) => apply(), OnCommit = (sender, text) => apply(),
}, },
}, },