update to master
This commit is contained in:
parent
4638fb1ea5
commit
10e79ca5c8
3 changed files with 6 additions and 31 deletions
|
@ -52,7 +52,7 @@ return function(core, input, ...)
|
|||
opt.state = core:registerHitbox(opt.id, x,y,w,h)
|
||||
opt.hasKeyboardFocus = core:grabKeyboardFocus(opt.id)
|
||||
|
||||
if (input.candidate_text.text == "") and opt.hasKeyboardFocus then
|
||||
if opt.hasKeyboardFocus then
|
||||
local keycode,char = core:getPressedKey()
|
||||
-- text input
|
||||
if char and char ~= "" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue