永久解决按输入框焦点和回车键的交互问题

This commit is contained in:
MrZ626
2021-06-08 21:34:07 +08:00
parent 80e95f3e27
commit 67f5ed49ec
4 changed files with 11 additions and 5 deletions

View File

@@ -272,7 +272,7 @@ function love.keypressed(key)
end
elseif not SCN.swapping then
if SCN.keyDown then
SCN.keyDown(key)
if #EDITING==0 then SCN.keyDown(key)end
elseif key=="escape"then
SCN.back()
else