From 5582b02391a938615f082fdc55c9aa09cc1885c9 Mon Sep 17 00:00:00 2001 From: JavidPack Date: Fri, 16 Feb 2018 19:30:47 -0700 Subject: [PATCH] 0.4.1.2 Fix key press issues on <60fps --- UI/UITextbox.cs | 6 +++--- build.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/UI/UITextbox.cs b/UI/UITextbox.cs index 831b2b9..a7da38c 100644 --- a/UI/UITextbox.cs +++ b/UI/UITextbox.cs @@ -110,9 +110,9 @@ public void Focus() { if (!focused) { + Main.clrInput(); focused = true; - // Main.blockInput = true; - // Main.clrInput(); + Main.blockInput = true; timer = 0f; //eventSet = true; } @@ -126,7 +126,7 @@ public void Unfocus() if (focused) { focused = false; - // Main.blockInput = false; + Main.blockInput = false; OnLostFocus?.Invoke(this, EventArgs.Empty); } diff --git a/build.txt b/build.txt index 29adbdb..9578035 100644 --- a/build.txt +++ b/build.txt @@ -1,5 +1,5 @@ author = jopojelly, jofairden, rrryutaro -version = 0.4.1.1 +version = 0.4.1.2 displayName = Cheat Sheet homepage = http://forums.terraria.org/index.php?threads/cheat-sheet.41407/ buildIgnore = .vs\*, Properties\*, *.csproj, *.user, obj\*, bin\*, *.config, .git\*