textBox控件名让给真·文本框,输入框控件改名inputBox,更新历史界面使用文本框控件

This commit is contained in:
MrZ626
2021-01-24 13:17:01 +08:00
parent 665fdbf53e
commit 515c6f93a8
6 changed files with 103 additions and 103 deletions

View File

@@ -235,7 +235,7 @@ function love.textedited(text)
end
function love.textinput(text)
local W=WIDGET.sel
if W and W.type=="textBox"then
if W and W.type=="inputBox"then
if not W.regex or text:match(W.regex)then
WIDGET.sel.value=WIDGET.sel.value..text
SFX.play("move")