Merge branch 'master' into master
This commit is contained in:
commit
02c4c05a0d
10 changed files with 162 additions and 16 deletions
|
@ -49,6 +49,11 @@ return function(core, input, ...)
|
|||
end
|
||||
|
||||
-- user interaction
|
||||
if input.forcefocus ~= nil and input.forcefocus then
|
||||
core.active = opt.id
|
||||
input.forcefocus = false
|
||||
end
|
||||
|
||||
opt.state = core:registerHitbox(opt.id, x,y,w,h)
|
||||
opt.hasKeyboardFocus = core:grabKeyboardFocus(opt.id)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue