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
|
if (haveFocus) then
|
||||||
local elem = self:getFocusedElement()
|
local elem = self:getFocusedElement()
|
||||||
for key,_ in pairs(keys) do
|
for key,_ in pairs(keys) do
|
||||||
if keys[key].isPressed then
|
if (keys[key].isPressed and not elem:isTransforming()) then
|
||||||
elem:keypressed(key)
|
elem:keypressed(key)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue