From a88fef1f804cb8bbfee6565d17a186089b9586b1 Mon Sep 17 00:00:00 2001 From: JacobTech Date: Sun, 1 Jan 2023 23:27:16 -0500 Subject: [PATCH] Fixed Bug Typing went to all Textbox controls --- GraphicsManager/GraphicsManager.csproj | 2 +- GraphicsManager/Objects/Textbox.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/GraphicsManager/GraphicsManager.csproj b/GraphicsManager/GraphicsManager.csproj index ab530d8..091acc0 100644 --- a/GraphicsManager/GraphicsManager.csproj +++ b/GraphicsManager/GraphicsManager.csproj @@ -10,7 +10,7 @@ False https://git.jacobtech.com/JacobTech.com/GraphicsManager git - 1.0.0-alpha6 + 1.0.0-alpha7 diff --git a/GraphicsManager/Objects/Textbox.cs b/GraphicsManager/Objects/Textbox.cs index 6ee83ca..3e78d28 100755 --- a/GraphicsManager/Objects/Textbox.cs +++ b/GraphicsManager/Objects/Textbox.cs @@ -121,6 +121,7 @@ public class Textbox : IRenderObject private void WindowOnTextInput(TextInputEventArgs obj) { + if (!use) return; Text += obj.AsString; }