房间内文本框操作更自然

This commit is contained in:
MrZ626
2021-05-16 02:55:25 +08:00
parent d246064ded
commit ffc09b0801
2 changed files with 7 additions and 8 deletions

View File

@@ -102,7 +102,7 @@ function scene.keyDown(key)
end
elseif not inputBox.hide then
WIDGET.focus(inputBox)
WIDGET.keyPressed(key)
inputBox:keypress(key)
elseif playing then
if not playing or noKey then return end
local k=keyMap.keyboard[key]