From ef13cdbff7b8c19a3356743e39c841d4e27b96ad Mon Sep 17 00:00:00 2001 From: Huo Yaoyuan Date: Fri, 3 Mar 2017 10:00:39 +0800 Subject: [PATCH 1/2] Disallow copying from OsuPasswordTextBox. --- osu.Game/Graphics/UserInterface/OsuPasswordTextBox.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osu.Game/Graphics/UserInterface/OsuPasswordTextBox.cs b/osu.Game/Graphics/UserInterface/OsuPasswordTextBox.cs index 85b1a1a338..df48694249 100644 --- a/osu.Game/Graphics/UserInterface/OsuPasswordTextBox.cs +++ b/osu.Game/Graphics/UserInterface/OsuPasswordTextBox.cs @@ -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; From 5b5fbbfdffbae8f63cd482af0980b0ccee6ecbff Mon Sep 17 00:00:00 2001 From: Huo Yaoyuan Date: Fri, 3 Mar 2017 10:17:46 +0800 Subject: [PATCH 2/2] Update framework. --- osu-framework | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu-framework b/osu-framework index 6f97c4b9df..798409058a 160000 --- a/osu-framework +++ b/osu-framework @@ -1 +1 @@ -Subproject commit 6f97c4b9df20436cda6a6fcfc87ab42185d60db4 +Subproject commit 798409058a421307b5a92aeea4cd60a065f5a0d4