Refonte pour utiliser le systeme de GUI #112
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ function Gui:keycheck(keys)
|
|||
if (haveFocus) then
|
||||
local elem = self:getFocusedElement()
|
||||
for key,_ in pairs(keys) do
|
||||
if keys[key].isPressed then
|
||||
if (keys[key].isPressed and not elem:isTransforming()) then
|
||||
elem:keypressed(key)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue