mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08:00
Cleanup.
This commit is contained in:
parent
ea523baa4a
commit
3d0b1b6009
@ -116,7 +116,7 @@ namespace osu.Game.Screens.Multi.Screens.Match.Settings
|
||||
},
|
||||
new Section("PASSWORD (OPTIONAL)")
|
||||
{
|
||||
Child = new SettingsTextBox
|
||||
Child = new SettingsPasswordTextBox
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
TabbableContentContainer = this,
|
||||
@ -198,12 +198,12 @@ namespace osu.Game.Screens.Multi.Screens.Match.Settings
|
||||
{
|
||||
protected override Color4 BackgroundUnfocused => Color4.Black;
|
||||
protected override Color4 BackgroundFocused => Color4.Black;
|
||||
}
|
||||
|
||||
protected override Drawable GetDrawableCharacter(char c) => new OsuSpriteText
|
||||
{
|
||||
Text = c.ToString(),
|
||||
TextSize = 18,
|
||||
};
|
||||
private class SettingsPasswordTextBox : OsuPasswordTextBox
|
||||
{
|
||||
protected override Color4 BackgroundUnfocused => Color4.Black;
|
||||
protected override Color4 BackgroundFocused => Color4.Black;
|
||||
}
|
||||
|
||||
private class SectionContainer : FillFlowContainer<Section>
|
||||
|
Loading…
Reference in New Issue
Block a user