1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-06 23:24:53 +08:00

Merge pull request #4202 from Aergwyn/dont-log-passwords

Stop logging keyboard events from password textbox
This commit is contained in:
Dean Herbert
2019-02-14 16:00:54 +09:00
committed by GitHub
Unverified
@@ -9,12 +9,13 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input;
using osu.Framework.Input.Events;
using osu.Framework.Platform;
namespace osu.Game.Graphics.UserInterface
{
public class OsuPasswordTextBox : OsuTextBox
public class OsuPasswordTextBox : OsuTextBox, ISuppressKeyEventLogging
{
protected override Drawable GetDrawableCharacter(char c) => new PasswordMaskChar(CalculatedTextSize);