2019-06-21 21:04:10 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
2025-01-14 15:29:56 +08:00
|
|
|
|
using osu.Framework.Input;
|
|
|
|
|
|
2019-06-21 21:04:10 +08:00
|
|
|
|
namespace osu.Game.Graphics.UserInterface
|
|
|
|
|
{
|
|
|
|
|
public partial class OsuNumberBox : OsuTextBox
|
|
|
|
|
{
|
2024-07-10 20:08:30 +08:00
|
|
|
|
public OsuNumberBox()
|
|
|
|
|
{
|
2025-01-14 15:29:56 +08:00
|
|
|
|
InputProperties = new TextInputProperties(TextInputType.Number, false);
|
|
|
|
|
|
2024-07-10 20:08:30 +08:00
|
|
|
|
SelectAllOnFocus = true;
|
|
|
|
|
}
|
2019-06-21 21:04:10 +08:00
|
|
|
|
}
|
|
|
|
|
}
|