永久解决按输入框焦点和回车键的交互问题
This commit is contained in:
@@ -133,7 +133,7 @@ function scene.keyDown(key)
|
||||
if #mes>0 then
|
||||
NET.sendMessage(mes)
|
||||
inputBox:clear()
|
||||
elseif #EDITING==0 then
|
||||
else
|
||||
_switchChat()
|
||||
end
|
||||
else
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user