mirror of
https://github.com/osukey/osukey.git
synced 2025-05-11 00:27:23 +09: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)")
|
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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user