Rename classes

This commit is contained in:
Pasi4K5
2021-06-12 17:37:01 +02:00
parent 29f3880415
commit c728f673d6
2 changed files with 5 additions and 5 deletions

View File

@ -13,14 +13,14 @@ namespace osu.Game.Overlays.Settings
{
public class SettingsTextBox : SettingsItem<string>
{
protected override Drawable CreateControl() => new OsuModSettingsTextBox
protected override Drawable CreateControl() => new OsuSettingsTextBox
{
Margin = new MarginPadding { Top = 5 },
RelativeSizeAxes = Axes.X,
CommitOnFocusLost = true,
};
public class OsuModSettingsTextBox : OsuTextBox
public class OsuSettingsTextBox : OsuTextBox
{
private const float border_thickness = 3;
@ -57,7 +57,7 @@ namespace osu.Game.Overlays.Settings
}
}
public class OsuModSettingsNumberBox : OsuModSettingsTextBox
public class OsuSettingsNumberBox : OsuSettingsTextBox
{
protected override bool CanAddCharacter(char character) => char.IsNumber(character);
}