1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 02:02:53 +08:00

Fix weird textbox behaviour when entering a random mod seed overflowing int backing

This commit is contained in:
Dean Herbert 2021-10-08 13:51:41 +09:00
parent a924b982eb
commit 9dc035757f

View File

@ -36,6 +36,7 @@ namespace osu.Game.Overlays.Settings
{
numberBox = new OutlinedNumberBox
{
LengthLimit = 9, // limited to less than a value that could overflow int32 backing.
Margin = new MarginPadding { Top = 5 },
RelativeSizeAxes = Axes.X,
CommitOnFocusLost = true