Fix textinput key repeat behavior

This commit is contained in:
Kenny Shields 2013-12-24 05:55:01 -05:00
parent ebf541e3b6
commit d38ab2c621

View File

@ -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)