mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 09:20:02 +09:00
Fix weird textbox behaviour when entering a random mod seed overflowing int backing
This commit is contained in:
@ -36,6 +36,7 @@ namespace osu.Game.Overlays.Settings
|
|||||||
{
|
{
|
||||||
numberBox = new OutlinedNumberBox
|
numberBox = new OutlinedNumberBox
|
||||||
{
|
{
|
||||||
|
LengthLimit = 9, // limited to less than a value that could overflow int32 backing.
|
||||||
Margin = new MarginPadding { Top = 5 },
|
Margin = new MarginPadding { Top = 5 },
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
CommitOnFocusLost = true
|
CommitOnFocusLost = true
|
||||||
|
Reference in New Issue
Block a user