fix: don't pass key press to moving elements
This commit is contained in:
parent
193b9cffbc
commit
2ccf4d2e4e
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