mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 21:07:18 +09:00
Make OsuTextBox use BasicTextBox
This commit is contained in:
parent
5e8afccfee
commit
0bfd757936
@ -12,7 +12,7 @@ using osu.Framework.Input.Events;
|
|||||||
|
|
||||||
namespace osu.Game.Graphics.UserInterface
|
namespace osu.Game.Graphics.UserInterface
|
||||||
{
|
{
|
||||||
public class OsuTextBox : TextBox
|
public class OsuTextBox : BasicTextBox
|
||||||
{
|
{
|
||||||
protected override float LeftRightPadding => 10;
|
protected override float LeftRightPadding => 10;
|
||||||
|
|
||||||
@ -41,6 +41,8 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
BackgroundCommit = BorderColour = colour.Yellow;
|
BackgroundCommit = BorderColour = colour.Yellow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override Color4 SelectionColour => new Color4(249, 90, 255, 255);
|
||||||
|
|
||||||
protected override void OnFocus(FocusEvent e)
|
protected override void OnFocus(FocusEvent e)
|
||||||
{
|
{
|
||||||
BorderThickness = 3;
|
BorderThickness = 3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user