1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 03:59:54 +08:00

Fix textbox characters not animating when typing/backspacing

This commit is contained in:
Joehu
2020-03-08 19:43:53 -07:00
Unverified
parent c7c7e626b8
commit 3903423a37
3 changed files with 15 additions and 3 deletions
@@ -18,7 +18,11 @@ namespace osu.Game.Graphics.UserInterface
{
public class OsuPasswordTextBox : OsuTextBox, ISuppressKeyEventLogging
{
protected override Drawable GetDrawableCharacter(char c) => new PasswordMaskChar(CalculatedTextSize);
protected override Drawable GetDrawableCharacter(char c) => new FallingDownContainer
{
AutoSizeAxes = Axes.Both,
Child = new PasswordMaskChar(CalculatedTextSize),
};
protected override bool AllowClipboardExport => false;