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:
parent
a924b982eb
commit
9dc035757f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user