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

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

@@ -43,7 +43,7 @@ function scene.sceneBack()
end
function scene.keyDown(k)
if k=="return"and #EDITING==0 then
if k=="return"then
createRoom()
elseif k=="escape"then
SCN.go('net_rooms')