This commit is contained in:
DrabWeb 2018-08-14 12:08:00 -03:00
parent ea523baa4a
commit 3d0b1b6009

View File

@ -116,7 +116,7 @@ namespace osu.Game.Screens.Multi.Screens.Match.Settings
}, },
new Section("PASSWORD (OPTIONAL)") new Section("PASSWORD (OPTIONAL)")
{ {
Child = new SettingsTextBox Child = new SettingsPasswordTextBox
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
TabbableContentContainer = this, TabbableContentContainer = this,
@ -198,12 +198,12 @@ namespace osu.Game.Screens.Multi.Screens.Match.Settings
{ {
protected override Color4 BackgroundUnfocused => Color4.Black; protected override Color4 BackgroundUnfocused => Color4.Black;
protected override Color4 BackgroundFocused => Color4.Black; protected override Color4 BackgroundFocused => Color4.Black;
}
protected override Drawable GetDrawableCharacter(char c) => new OsuSpriteText private class SettingsPasswordTextBox : OsuPasswordTextBox
{ {
Text = c.ToString(), protected override Color4 BackgroundUnfocused => Color4.Black;
TextSize = 18, protected override Color4 BackgroundFocused => Color4.Black;
};
} }
private class SectionContainer : FillFlowContainer<Section> private class SectionContainer : FillFlowContainer<Section>