From d38ab2c621d0aee70501b9f103724e95993ce42a Mon Sep 17 00:00:00 2001 From: Kenny Shields Date: Tue, 24 Dec 2013 05:55:01 -0500 Subject: [PATCH] Fix textinput key repeat behavior --- objects/textinput.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/objects/textinput.lua b/objects/textinput.lua index aa41f45..fab4da7 100644 --- a/objects/textinput.lua +++ b/objects/textinput.lua @@ -857,6 +857,8 @@ function newobject:RunKey(key, unicode, is_text) end end + self.unicode = 0 + local curtext = self:GetText() if ontextchanged and initialtext ~= curtext then ontextchanged(self, ckey)