From 6d6451d56a9952bdaaea2f8d5032c091db2cacad Mon Sep 17 00:00:00 2001 From: "David Kline (ANALOG)" Date: Mon, 14 May 2018 14:56:56 -0700 Subject: [PATCH] fix #917 and duplicate kbd backspace issues --- .../UX/Scripts/Keyboard/KeyboardInputField.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Assets/MixedRealityToolkit/UX/Scripts/Keyboard/KeyboardInputField.cs b/Assets/MixedRealityToolkit/UX/Scripts/Keyboard/KeyboardInputField.cs index 569714c9c5e..1fe2c628a52 100644 --- a/Assets/MixedRealityToolkit/UX/Scripts/Keyboard/KeyboardInputField.cs +++ b/Assets/MixedRealityToolkit/UX/Scripts/Keyboard/KeyboardInputField.cs @@ -57,10 +57,7 @@ public override void OnPointerClick(PointerEventData eventData) /// private void Keyboard_OnTextUpdated(string newText) { - if (!string.IsNullOrEmpty(newText)) - { - text = newText; - } + text = newText; } ///