mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 09:42:57 +08:00
Merge pull request #2832 from ThePyrotechnic/TextLengthLimit
Add some default LengthLimit to OsuTextBox
This commit is contained in:
commit
8ab2c2f033
@ -30,6 +30,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
Height = 40;
|
||||
TextContainer.Height = 0.5f;
|
||||
CornerRadius = 5;
|
||||
LengthLimit = 1000;
|
||||
|
||||
Current.DisabledChanged += disabled => { Alpha = disabled ? 0.3f : 1; };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user