mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 02:49:53 +08:00
Merge pull request #2832 from ThePyrotechnic/TextLengthLimit
Add some default LengthLimit to OsuTextBox
This commit is contained in:
@@ -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; };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user