1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 15:33:05 +08:00

Remove custom text box

This commit is contained in:
AlFasGD 2018-07-24 09:46:24 +03:00
parent 2f452c162c
commit 765c6e4ecc
2 changed files with 3 additions and 18 deletions

View File

@ -7,6 +7,7 @@ using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes; using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics; using osu.Game.Graphics;
using osu.Game.Graphics.Sprites; using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using System; using System;
using static osu.Framework.Graphics.UserInterface.TextBox; using static osu.Framework.Graphics.UserInterface.TextBox;
@ -14,7 +15,7 @@ namespace osu.Game.Screens.Edit.Screens.Setup.Components.LabelledComponents
{ {
public class LabelledTextBox : CompositeDrawable public class LabelledTextBox : CompositeDrawable
{ {
private readonly SetupTextBox textBox; private readonly OsuTextBox textBox;
private readonly Container content; private readonly Container content;
private readonly OsuSpriteText label; private readonly OsuSpriteText label;
@ -172,7 +173,7 @@ namespace osu.Game.Screens.Edit.Screens.Setup.Components.LabelledComponents
Text = LabelText, Text = LabelText,
Font = @"Exo2.0-Bold", Font = @"Exo2.0-Bold",
}, },
textBox = new SetupTextBox textBox = new OsuTextBox
{ {
Anchor = Anchor.TopLeft, Anchor = Anchor.TopLeft,
Origin = Anchor.TopLeft, Origin = Anchor.TopLeft,

View File

@ -1,16 +0,0 @@
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Screens.Edit.Screens.Setup.Components
{
public class SetupTextBox : OsuTextBox
{
protected override float LeftRightPadding => 15;
}
}