Move classes into SettingsTextBox

This commit is contained in:
Pasi4K5
2021-06-12 17:34:02 +02:00
parent bb661abfa6
commit 29f3880415
4 changed files with 49 additions and 60 deletions

View File

@ -8,7 +8,6 @@ using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Configuration;
using osu.Game.Graphics;
using osu.Game.Graphics.UserInterface;
using osu.Game.Overlays.Settings;
namespace osu.Game.Rulesets.Mods
@ -50,7 +49,7 @@ namespace osu.Game.Rulesets.Mods
}
}
private readonly OsuModSettingsNumberBox seedNumberBox;
private readonly SettingsTextBox.OsuModSettingsNumberBox seedNumberBox;
public SeedControl()
{
@ -76,7 +75,7 @@ namespace osu.Game.Rulesets.Mods
{
new Drawable[]
{
seedNumberBox = new OsuModSettingsNumberBox
seedNumberBox = new SettingsTextBox.OsuModSettingsNumberBox
{
RelativeSizeAxes = Axes.X,
CommitOnFocusLost = true