1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 15:27:26 +08:00

Disallow copying from OsuPasswordTextBox.

This commit is contained in:
Huo Yaoyuan 2017-03-03 10:00:39 +08:00
parent ae1d51bc9b
commit ef13cdbff7

View File

@ -14,6 +14,8 @@ namespace osu.Game.Graphics.UserInterface
{
protected override Drawable GetDrawableCharacter(char c) => new PasswordMaskChar(CalculatedTextSize);
public override bool AllowClipboardExport => false;
public class PasswordMaskChar : Container
{
private CircularContainer circle;